iCalDateA 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)
Constructor iCalDate (line 50)
The constructor takes either an iCalendar date, a text string formatted as an iCalendar date, or epoch seconds.
AddDays (line 254)
Add some integer number of days to a date
AddDuration (line 282)
Add duration
AddMonths (line 226)
Add some number of months to a date
ApplyBySetPos (line 547)
Given set position descriptions like '1', '3', '11', '-3' or '-1' and a set, return the subset matching the list of set positions.
DateDifference (line 318)
Produce an iCalendar format DURATION for the difference between this an another iCalDate
DaysInMonth (line 177)
No of days in a month 1(Jan) - 12(Dec)
GetMonthByDay (line 401)
Applies any BYDAY to the month to return a set of days
GetMonthByMonthDay (line 422)
Applies any BYMONTHDAY to the month to return a set of days
GetWeekByDay (line 441)
Applies any BYDAY to the week to return a set of days
GreaterThan (line 462)
Test if $this is greater than the date parameter
LessThan (line 477)
Test if $this is less than the date parameter
MonthDays (line 496)
Given a MonthDays string like "1MO", "-2WE" return an integer day of the month.
Render (line 169)
Set the day of week used for calculation of week starts
SetEpochDate (line 103)
Set the date from an epoch
SetGMTDate (line 83)
Set the date from a text string
SetLocalDate (line 93)
Set the date from a text string
SetMonthDay (line 214)
Set the day in the month to what we have been given
SetWeekStart (line 160)
Set the day of week used for calculation of week starts
TestByMonth (line 389)
Test to see if our _mo matches something in the list of months we have received.
_EpochFromParts (line 151)
Given a local text date, convert it to an epoch
_GMTEpochFromParts (line 142)
Given a GMT text date, convert it to an epoch
_GMTTextFromEpoch (line 121)
Given a GMT epoch date, convert it to text
_PartsFromText (line 129)
Given a text date, convert it to parts
_TextFromEpoch (line 113)
Given an epoch date, convert it to text
Documentation generated on Sun, 19 Oct 2008 21:25:41 +1300 by phpDocumentor 1.3.2