Constructors
YearSchedule()
Methods
addTimeSpan(DateTime,TimeSpan)
This function adds a time span to the current year schedule.addWS(WeekSchedule,Integer,Integer)
This function adds a week schedule to the year schedule.getDifference(DateTime,DateTime)
Gets difference between two given times. The function returns a timespan. Counting will skip inactive periodes, defined by the different weekschedules that may be crossed.
Returns: CRMScript.Native.TimeSpan