[Horde_Date] element index

Package indexes

All elements
a c d e f g h i m n p r s t w y _
_
top
Variable $_supportedSpecs
Internally supported strftime() specifiers.
Method _mktime
mktime() implementation that supports dates outside of 1970-2038, from http://phplens.com/phpeverywhere/adodb_date_library.
Method _setTimeZone
Sets the current timezone, if available.
Method _strftime
Format date and time using a limited set of the strftime() format.
a
top
Method addCompletion
Adds a completion to a recurring event.
Method addException
Adds an exception to a recurring event.
Page AllTests.php
AllTests.php in AllTests.php
c
top
Variable $completions
All the dates this recurrence has been marked as completed.
Method compareDate
Compare this date to another date object to see which one is greater (later). Assumes that the dates are in the same timezone.
Method compareDateTime
Compare this to another date object, including times, to see which one is greater (later). Assumes that the dates are in the same timezone.
Method compareTime
Compare this to another date object by time, to see which one is greater (later). Assumes that the dates are in the same timezone.
Method correct
Correct any over- or underflows in any of the date's members.
Method cTime
Format time to standard 'ctime' format.
d
top
Page Date.php
Date.php in Date.php
Method datestamp
Return the unix timestamp representation of this date, 12:00am.
Method dayOfWeek
Return the day of the week (0 = Sunday, 6 = Saturday) of this object's date.
Method dayOfYear
Returns the day number of the year (1 to 365/366).
Method daysInMonth
Method deleteCompletion
Deletes a completion from a recurring event.
Method deleteException
Deletes an exception from a recurring event.
Method dump
Horde_Date::dump() in Date.php
e
top
Variable $exceptions
All the exceptions from recurrence for this event.
f
top
Method firstDayOfWeek
Returns the day of the year (1-366) that corresponds to the first day of the given week.
Method format
Format time using the specifiers available in date() or in the DateTime class' format() method.
Method fromHash
Parses the recurrence data from a hash.
Method fromRRule10
Parses a vCalendar 1.0 recurrence rule.
Method fromRRule20
Parses an iCalendar 2.0 recurrence rule.
g
top
Method getCompletions
Retrieves all the completions for this event.
Method getExceptions
Retrieves all the exceptions for this event.
Method getRecurCount
Retrieves the number of recurrences of this event.
Method getRecurEnd
Retrieves the end date of the recurrence interval.
Method getRecurInterval
Retrieves the length of time between recurrences of this event.
Method getRecurName
Returns a description of this event's recurring type.
Method getRecurOnDays
Returns the days this event recurs on.
Method getRecurStart
Retrieves the start date of the recurrence interval.
Method getRecurType
Returns recurrence type of this event.
h
top
Variable $hour
Horde_Date::$hour in Date.php
Hour
Method hasActiveRecurrence
Returns whether this event has any date that matches the recurrence rules and is not an exception.
Method hasCompletion
Checks if a completion exists for a given reccurence of an event.
Method hasException
Checks if an exception exists for a given reccurence of an event.
Method hasRecurCount
Returns whether this event has a recurrence with a fixed count.
Method hasRecurEnd
Returns whether this event has a recurrence end.
Method hasRecurType
Returns whether this event has a specific recurrence type.
Class Horde_Date
Horde_Date in Date.php
Horde Date wrapper/logic class, including some calculation functions.
Method Horde_Date
Build a new date object. If $date contains date parts, use them to initialize the object.
Constant HORDE_DATE_FRIDAY
HORDE_DATE_FRIDAY in Date.php
Constant HORDE_DATE_MASK_ALLDAYS
Constant HORDE_DATE_MASK_ALLPARTS
Constant HORDE_DATE_MASK_DAY
Constant HORDE_DATE_MASK_FRIDAY
Constant HORDE_DATE_MASK_HOUR
Constant HORDE_DATE_MASK_MINUTE
Constant HORDE_DATE_MASK_MONDAY
Constant HORDE_DATE_MASK_MONTH
Constant HORDE_DATE_MASK_SATURDAY
Constant HORDE_DATE_MASK_SECOND
Constant HORDE_DATE_MASK_SUNDAY
Constant HORDE_DATE_MASK_THURSDAY
Constant HORDE_DATE_MASK_TUESDAY
Constant HORDE_DATE_MASK_WEDNESDAY
Constant HORDE_DATE_MASK_WEEKDAYS
Constant HORDE_DATE_MASK_WEEKEND
Constant HORDE_DATE_MASK_YEAR
Constant HORDE_DATE_MONDAY
HORDE_DATE_MONDAY in Date.php
Class Horde_Date_Recurrence
Horde_Date_Recurrence in Recurrence.php
The Horde_Date_Recurrence class implements algorithms for calculating recurrences of events, including several recurrence types, intervals, exceptions, and conversion from and to vCalendar and iCalendar recurrence rules.
Method Horde_Date_Recurrence
Constructor.
Constant HORDE_DATE_RECUR_DAILY
HORDE_DATE_RECUR_DAILY in Recurrence.php
Recurs daily.
Constant HORDE_DATE_RECUR_MONTHLY_DATE
Recurs monthly on the same date.
Constant HORDE_DATE_RECUR_MONTHLY_WEEKDAY
Recurs monthly on the same week day.
Constant HORDE_DATE_RECUR_NONE
HORDE_DATE_RECUR_NONE in Recurrence.php
No recurrence.
Constant HORDE_DATE_RECUR_WEEKLY
HORDE_DATE_RECUR_WEEKLY in Recurrence.php
Recurs weekly.
Constant HORDE_DATE_RECUR_YEARLY_DATE
Recurs yearly on the same date.
Constant HORDE_DATE_RECUR_YEARLY_DAY
HORDE_DATE_RECUR_YEARLY_DAY in Recurrence.php
Recurs yearly on the same day of the year.
Constant HORDE_DATE_RECUR_YEARLY_WEEKDAY
Recurs yearly on the same week day.
Constant HORDE_DATE_SATURDAY
Constant HORDE_DATE_SUNDAY
HORDE_DATE_SUNDAY in Date.php
Constant HORDE_DATE_THURSDAY
Constant HORDE_DATE_TUESDAY
HORDE_DATE_TUESDAY in Date.php
Constant HORDE_DATE_WEDNESDAY
Class Horde_Date_AllTests
Horde_Date_AllTests in AllTests.php
Class Horde_Date_RecurrenceTest
Horde_Date_RecurrenceTest in RecurrenceTest.php
i
top
Method isLeapYear
Method iso8601DateTime
Format time in ISO-8601 format. Works correctly since Horde 3.2.
Method isValid
Is the date currently represented by this object a valid date?
m
top
Variable $mday
Horde_Date::$mday in Date.php
Day
Variable $min
Horde_Date::$min in Date.php
Minute
Variable $month
Horde_Date::$month in Date.php
Month
Method main
n
top
Method nextActiveRecurrence
Returns the next active recurrence.
Method nextRecurrence
Finds the next recurrence of this event that's after $afterDate.
p
top
Constant PHPUnit_MAIN_METHOD
PHPUnit_MAIN_METHOD in AllTests.php
r
top
Variable $recurCount
The number of recurrences.
Variable $recurData
Any additional recurrence data.
Variable $recurEnd
The end date of the recurrence interval.
Variable $recurInterval
The length of time between recurrences. The time unit depends on the recurrence type.
Variable $recurType
The type of recurrence this event follows. HORDE_DATE_RECUR_* constant.
Page Recurrence.php
Recurrence.php in Recurrence.php
Method recurOnDay
Checks if this event recurs on a given day of the week.
Method rfc2822DateTime
Format time in RFC 2822 format.
Method rfc3339DateTime
Format time in RFC 3339 format.
Page RecurrenceTest.php
RecurrenceTest.php in RecurrenceTest.php
s
top
Variable $sec
Horde_Date::$sec in Date.php
Second
Variable $start
The start time of the event.
Method setNthWeekday
Set the date of this object to the $nth weekday of $weekday.
Method setRecurCount
Sets the number of recurrences of this event.
Method setRecurEnd
Sets the end date of the recurrence interval.
Method setRecurInterval
Sets the length of time between recurrences of this event.
Method setRecurOnDay
Specifies the days this event recurs on.
Method setRecurStart
Sets the start date of the recurrence interval.
Method setRecurType
Sets a recurrence type for this event.
Method sqlDateTime
Format time in the format we use for SQL queries.
Method strftime
Format date and time using strftime() format.
Method suite
t
top
Method timestamp
Return the unix timestamp representation of this date.
Method toHash
Export this object into a hash.
Method toRRule10
Creates a vCalendar 1.0 recurrence rule.
Method toRRule20
Creates an iCalendar 2.0 recurrence rule.
Method tzOffset
Get the time offset for local time zone.
Method testCompletions
Method testHash
w
top
Method weekOfMonth
Returns the week of the month.
Method weekOfYear
Returns the week of the year, first Monday is first day of first week.
Method weeksInYear
Return the number of weeks in the given year (52 or 53).
y
top
Variable $year
Horde_Date::$year in Date.php
Year
a c d e f g h i m n p r s t w y _