Hi Shruthie,
extendcode
-> It specifies the extent of the calendar rule, generally an integer value.
timecode -> Time zone code to be set which the calendar rule will follow
subcode -> Subtype of the calendar rule, for setting work hours it is 1.
effort -> Effort available for a resource (user) during the time described by the calendar rule
rank -> Integer value which specifies the rank value of the calendar rule
If you need code sample or more detailed references you can check the link bellow, it might be helpful.
Sample Code
Regards,
Henrique
If my post answer you question, please mark it as answer.
If I answered your question please mark it as answer Cheers, Henrique Silvestre Souza