A Class for handling dates in iCalendar format. We do make the simplifying assumption that all date handling in here is normalised to GMT. One day we might provide some functions to do that, but for now it is done externally.
Located in /inc/RRule.php (line 21)
The constructor takes either an iCalendar date, a text string formatted as an iCalendar date, or epoch seconds.
Add some integer number of days to a date
Add duration
Add some number of months to a date
Given set position descriptions like '1', '3', '11', '-3' or '-1' and a set, return the subset matching the list of set positions.
Produce an iCalendar format DURATION for the difference between this an another iCalDate
No of days in a month 1(Jan) - 12(Dec)
Applies any BYDAY to the month to return a set of days
Applies any BYMONTHDAY to the month to return a set of days
Applies any BYDAY to the week to return a set of days
Test if $this is greater than the date parameter
Test if $this is less than the date parameter
Given a MonthDays string like "1MO", "-2WE" return an integer day of the month.
Set the day of week used for calculation of week starts
Render the date as GMT
Set the date from an epoch
Set the date from a text string
Set the date from a text string
Set the day in the month to what we have been given
Set the day of week used for calculation of week starts
Test to see if our _mo matches something in the list of months we have received.
Given a local text date, convert it to an epoch
Given a GMT text date, convert it to an epoch
Given a GMT epoch date, convert it to text
Given a text date, convert it to parts
Given an epoch date, convert it to text
Documentation generated on Fri, 13 Jan 2012 23:44:56 +1300 by phpDocumentor 1.4.3