Element index for package pear
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ m ]
[ n ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ w ]
[ y ]
a
- addSeconds
- in file Date.php, method Date::addSeconds()
Adds a given number of seconds to the date
- after
- in file Date.php, method Date::after()
Test if this date/time is after a certian date/time
top
b
- before
- in file Date.php, method Date::before()
Test if this date/time is before a certian date/time
- beginOfMonth
- in file Calc.php, method Date_Calc::beginOfMonth()
Return date of first day of month of given date.
- beginOfNextMonth
- in file Calc.php, method Date_Calc::beginOfNextMonth()
Returns date of begin of next month of given date.
- beginOfNextWeek
- in file Calc.php, method Date_Calc::beginOfNextWeek()
Find the month day of the beginning of week after given date, using DATE_CALC_BEGIN_WEEKDAY. (can return weekday of prev month.)
- beginOfPrevMonth
- in file Calc.php, method Date_Calc::beginOfPrevMonth()
Returns date of the first day of previous month of given date.
- beginOfPrevWeek
- in file Calc.php, method Date_Calc::beginOfPrevWeek()
Find the month day of the beginning of week before given date, using DATE_CALC_BEGIN_WEEKDAY. (can return weekday of prev month.)
- beginOfWeek
- in file Calc.php, method Date_Calc::beginOfWeek()
Find the month day of the beginning of week for given date, using DATE_CALC_BEGIN_WEEKDAY. (can return weekday of prev month.)
top
c
- Calc.php
- procedural page Calc.php
- compare
- in file Date.php, method Date::compare()
Compares two dates
- convertTZ
- in file Date.php, method Date::convertTZ()
Converts this date to a new time zone
- convertTZbyID
- in file Date.php, method Date::convertTZbyID()
Converts this date to a new time zone, given a valid time zone ID
- copy
- in file Date.php, method Date::copy()
Copy values from another Date object
top
d
- $day
- in file Date.php, variable Date::$day
the day
- Date.php
- procedural page Date.php
- Date
- in file Date.php, class Date
Generic date handling class for PEAR.
- Date
- in file Date.php, method Date::Date()
Constructor
- dateDiff
- in file Calc.php, method Date_Calc::dateDiff()
Returns number of days between two given dates.
- dateFormat
- in file Calc.php, method Date_Calc::dateFormat()
Formats the date in the given format, much like strfmt(). This function is used to alleviate the problem with 32-bit numbers for dates pre 1970 or post 2038, as strfmt() has on most systems.
- dateNow
- in file Calc.php, method Date_Calc::dateNow()
Returns the current local date. NOTE: This function retrieves the local date using strftime(), which may or may not be 32-bit safe on your system.
- dateToDays
- in file Calc.php, method Date_Calc::dateToDays()
Converts a date to number of days since a distant unspecified epoch.
- Date_Calc
- in file Calc.php, class Date_Calc
Class Date_Calc
- DATE_CALC_BEGIN_WEEKDAY
- in file Calc.php, constant DATE_CALC_BEGIN_WEEKDAY
- DATE_FORMAT_ISO
- in file Date.php, constant DATE_FORMAT_ISO
"YYYY-MM-DD HH:MM:SS"
- DATE_FORMAT_TIMESTAMP
- in file Date.php, constant DATE_FORMAT_TIMESTAMP
"YYYYMMDDHHMMSS"
- DATE_FORMAT_UNIXTIME
- in file Date.php, constant DATE_FORMAT_UNIXTIME
long int, seconds since the unix epoch
- Date_Human
- in file Human.php, class Date_Human
Class to convert date strings between Gregorian and Human calendar formats.
- dayOfWeek
- in file Calc.php, method Date_Calc::dayOfWeek()
Returns day of week for given date, 0=Sunday
- daysInMonth
- in file Calc.php, method Date_Calc::daysInMonth()
Find the number of days in the given month.
- daysToDate
- in file Calc.php, method Date_Calc::daysToDate()
Converts number of days to a distant unspecified epoch.
- defaultCentury
- in file Calc.php, method Date_Calc::defaultCentury()
Sets century for 2 digit year.
top
e
- endOfNextMonth
- in file Calc.php, method Date_Calc::endOfNextMonth()
Returns date of the last day of next month of given date.
- endOfPrevMonth
- in file Calc.php, method Date_Calc::endOfPrevMonth()
Returns date of the last day of previous month for given date.
- endOfWeek
- in file Calc.php, method Date_Calc::endOfWeek()
Find the month day of the end of week for given date, using DATE_CALC_BEGIN_WEEKDAY. (can return weekday of following month.)
- equals
- in file Date.php, method Date::equals()
Test if this date/time is exactly equal to a certian date/time
top
f
- firstOfMonthWeekday
- in file Calc.php, method Date_Calc::firstOfMonthWeekday()
Find the day of the week for the first of the month of given date.
- format
- in file Date.php, method Date::format()
Date pretty printing, similar to strftime()
top
g
- getCalendarMonth
- in file Calc.php, method Date_Calc::getCalendarMonth()
Return a set of arrays to construct a calendar month for the given date.
- getCalendarWeek
- in file Calc.php, method Date_Calc::getCalendarWeek()
Return an array with days in week
- getCalendarYear
- in file Calc.php, method Date_Calc::getCalendarYear()
Return a set of arrays to construct a calendar year for the given date.
- getDate
- in file Date.php, method Date::getDate()
Get a string (or other) representation of this date
- getDay
- in file Date.php, method Date::getDay()
Returns the day field of the date object
- getDay
- in file Calc.php, method Date_Calc::getDay()
Returns the current local day in format DD
- getDayName
- in file Date.php, method Date::getDayName()
Gets the full name or abbriviated name of this weekday
- getDayOfWeek
- in file Date.php, method Date::getDayOfWeek()
Gets the day of the week for this date
- getDaysInMonth
- in file Date.php, method Date::getDaysInMonth()
Gets number of days in the month for this date
- getHour
- in file Date.php, method Date::getHour()
Returns the hour field of the date object
- getJulianDate
- in file Date.php, method Date::getJulianDate()
Get the Julian date for this date
- getMinute
- in file Date.php, method Date::getMinute()
Returns the minute field of the date object
- getMonth
- in file Date.php, method Date::getMonth()
Returns the month field of the date object
- getMonth
- in file Calc.php, method Date_Calc::getMonth()
Returns the current local month in format MM
- getMonthAbbrname
- in file Calc.php, method Date_Calc::getMonthAbbrname()
Returns the abbreviated month name for the given month
- getMonthFromFullName
- in file Calc.php, method Date_Calc::getMonthFromFullName()
Returns the numeric month from the month name or an abreviation
- getMonthFullname
- in file Calc.php, method Date_Calc::getMonthFullname()
Returns the full month name for the given month
- getMonthName
- in file Date.php, method Date::getMonthName()
Gets the full name or abbriviated name of this month
- getMonthNames
- in file Calc.php, method Date_Calc::getMonthNames()
Retunrs an array of month names
- getNextDay
- in file Date.php, method Date::getNextDay()
Get a Date object for the day after this one
- getNextWeekday
- in file Date.php, method Date::getNextWeekday()
Get a Date object for the weekday after this one
- getPrevDay
- in file Date.php, method Date::getPrevDay()
Get a Date object for the day before this one
- getPrevWeekday
- in file Date.php, method Date::getPrevWeekday()
Get a Date object for the weekday before this one
- getQuarterOfYear
- in file Date.php, method Date::getQuarterOfYear()
Gets the quarter of the year for this date
- getSecond
- in file Date.php, method Date::getSecond()
Returns the second field of the date object
- getTime
- in file Date.php, method Date::getTime()
Get this date/time in Unix time() format
- getWeekdayAbbrname
- in file Calc.php, method Date_Calc::getWeekdayAbbrname()
Returns the abbreviated weekday name for the given date
- getWeekdayFullname
- in file Calc.php, method Date_Calc::getWeekdayFullname()
Returns the full weekday name for the given date
- getWeekDays
- in file Calc.php, method Date_Calc::getWeekDays()
Returns an array of week days
- getWeekOfYear
- in file Date.php, method Date::getWeekOfYear()
Gets the week of the year for this date
- getWeeksInMonth
- in file Date.php, method Date::getWeeksInMonth()
Gets the number of weeks in the month for this date
- getYear
- in file Calc.php, method Date_Calc::getYear()
Returns the current local year in format CCYY
- getYear
- in file Date.php, method Date::getYear()
Returns the year field of the date object
- gregorianToHuman
- in file Human.php, method Date_Human::gregorianToHuman()
Returns an associative array containing the converted date information in 'Human Calendar' format.
top
top
top
j
- julianDate
- in file Calc.php, method Date_Calc::julianDate()
Returns number of days since 31 December of year before given date.
top
top
n
- nextDay
- in file Calc.php, method Date_Calc::nextDay()
Returns date of day after given date.
- nextDayOfWeek
- in file Calc.php, method Date_Calc::nextDayOfWeek()
Returns date of the next specific day of the week from the given date.
- nextDayOfWeekOnOrAfter
- in file Calc.php, method Date_Calc::nextDayOfWeekOnOrAfter()
Returns date of the next specific day of the week on or before the given date.
- nextWeekday
- in file Calc.php, method Date_Calc::nextWeekday()
Returns date of the next weekday of given date, skipping from Friday to Monday.
- NWeekdayOfMonth
- in file Calc.php, method Date_Calc::NWeekdayOfMonth()
Calculates the date of the Nth weekday of the month, such as the second Saturday of January 2000.
top
p
- prevDay
- in file Calc.php, method Date_Calc::prevDay()
Returns date of day before given date.
- prevDayOfWeek
- in file Calc.php, method Date_Calc::prevDayOfWeek()
Returns date of the previous specific day of the week from the given date.
- prevDayOfWeekOnOrBefore
- in file Calc.php, method Date_Calc::prevDayOfWeekOnOrBefore()
Returns date of the previous specific day of the week on or before the given date.
- prevWeekday
- in file Calc.php, method Date_Calc::prevWeekday()
Returns date of the previous weekday, skipping from Monday to Friday.
top
top
top
s
- $second
- in file Date.php, variable Date::$second
the second
- setDate
- in file Date.php, method Date::setDate()
Set the fields of a Date object based on the input date and format
- setDay
- in file Date.php, method Date::setDay()
Set the day field of the date object
- setHour
- in file Date.php, method Date::setHour()
Set the hour field of the date object
- setMinute
- in file Date.php, method Date::setMinute()
Set the minute field of the date object
- setMonth
- in file Date.php, method Date::setMonth()
Set the month field of the date object
- setSecond
- in file Date.php, method Date::setSecond()
Set the second field of the date object
- setTZ
- in file Date.php, method Date::setTZ()
Sets the time zone of this Date
- setTZbyID
- in file Date.php, method Date::setTZbyID()
Sets the time zone of this date with the given time zone id
- setYear
- in file Date.php, method Date::setYear()
Set the year field of the date object
- subtractSeconds
- in file Date.php, method Date::subtractSeconds()
Subtracts a given number of seconds from the date
top
t
- $tz
- in file Date.php, variable Date::$tz
timezone for this date
- toUTC
- in file Date.php, method Date::toUTC()
Converts this date to UTC and sets this date's timezone to UTC
top
w
- weekOfYear
- in file Calc.php, method Date_Calc::weekOfYear()
Returns week of the year, first Sunday is first day of first week
- weeksInMonth
- in file Calc.php, method Date_Calc::weeksInMonth()
Returns the number of rows on a calendar month. Useful for determining the number of rows when displaying a typical month calendar.
top
y
- $year
- in file Date.php, variable Date::$year
the year
top
|
|