Recurring type

I want to know the format for storing Recurring event for Example
Rec_type : Week_1_ _ 2,5#no,(my understand of that rec type is (Week ,1 for Repeated Every Week , ,_ ,_ 2 for Tuesday ,5 for Friday ,# no(no end ). I want to know the format of that [Monthly ,weekly, daily, yearly] .

i want to know the example for rec type like monthly _ 1_4_2_#no;
I SEEN THIS below format some where can you tell me format for your calander.