Temporal frequency library
var frequency = ;frequency;/*returns an array with these dates:2013-09-02 10:30:002013-09-03 10:30:002013-09-04 10:30:002013-09-05 10:30:002013-09-06 10:30:002013-09-07 10:30:002013-09-08 10:30:00*/
Constructor takes a string notation (also see
var frequency = ;// every Wednesday at 10:30:00
Add frequency rules by specifying a unit and a value to fix it to and an optional scope.
fix parameter can also be an object containing 3 properties:
frequency;// each day at 10:00:00frequency;// each 30 minutes after the hour of the 6th day of each monthfrequency;// Sundays at midnightFrequencyfneven = even;frequency;// days of even weeks at midnight
Returns the next occurence of the frequency after the specified date.
Returns all occurences of the frequency between (and including) the specified start and end date.
Returns a string notation of the frequency (useful for storage).