Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ ]
[ s ]
[ t ]
[ w ]
a
- add
- in file Span.php, method Date_Span::add()
Adds a time span.
- addSeconds
- in file Date.php, method Date::addSeconds()
Adds a given number of seconds to the date
- addSpan
- in file Date.php, method Date::addSpan()
Adds a time span 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 certain 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.)
- bug674.php
- procedural page bug674.php
- bug727_1.php
- procedural page bug727_1.php
- bug727_2.php
- procedural page bug727_2.php
- bug727_3.php
- procedural page bug727_3.php
- bug727_4.php
- procedural page bug727_4.php
- bug967.php
- procedural page bug967.php
top
top
d
- $day
- in file Date.php, variable Date::$day
the day
- $day
- in file Span.php, variable Date_Span::$day
- $default
- in file TimeZone.php, variable Date_TimeZone::$default
System Default Time Zone
- $dstlongname
- in file TimeZone.php, variable Date_TimeZone::$dstlongname
DST Long Name of this time zone
- $dstshortname
- in file TimeZone.php, variable Date_TimeZone::$dstshortname
DST Short Name of this timezone
- Date
- in file Date.php, method Date::Date()
Constructor
- Date
- in file Date.php, class Date
Generic date handling class for PEAR.
- Date.php
- procedural page Date.php
- 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.
- dateSeason
- in file Calc.php, method Date_Calc::dateSeason()
Determines julian date of the given season Adapted from previous work in Java by James Mark Hamilton, mhamilton@qwest.net
- 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
Date_Calc is a calendar class used to calculate and
- 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_ISO_BASIC
- in file Date.php, constant DATE_FORMAT_ISO_BASIC
"YYYYMMSSTHHMMSS(Z|(+/-)HHMM)?"
- DATE_FORMAT_ISO_EXTENDED
- in file Date.php, constant DATE_FORMAT_ISO_EXTENDED
"YYYY-MM-SSTHH:MM:SS(Z|(+/-)HH:MM)?"
- 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.
- Date_Span
- in file Span.php, method Date_Span::Date_Span()
Constructor.
- Date_Span
- in file Span.php, class Date_Span
Generic time span handling class for PEAR.
- Date_SpanTest
- in file testunit_date_span.php, method Date_SpanTest::Date_SpanTest()
- Date_SpanTest
- in file testunit_date_span.php, class Date_SpanTest
Test case for Date_Span
- DATE_SPAN_INPUT_FORMAT_NNSV
- in file Span.php, constant DATE_SPAN_INPUT_FORMAT_NNSV
Non Numeric Separated Values (NNSV) Input Format.
- Date_Test
- in file testunit_date.php, method Date_Test::Date_Test()
- Date_Test
- in file testunit_date.php, class Date_Test
Test case for Date
- Date_TimeZone
- in file TimeZone.php, class Date_TimeZone
TimeZone representation class, along with time zone information data.
- Date_TimeZone
- in file TimeZone.php, method Date_TimeZone::Date_TimeZone()
Constructor
- 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.)
- equal
- in file Span.php, method Date_Span::equal()
Tells if time span is equal to $time.
- 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 Span.php, method Date_Span::format()
Time span pretty printing (similar to Date::format()).
- format
- in file Date.php, method Date::format()
Date pretty printing, similar to strftime()
top
g
- getAvailableIDs
- in file TimeZone.php, method Date_TimeZone::getAvailableIDs()
Returns the list of valid time zone id strings
- 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
- getDefault
- in file TimeZone.php, method Date_TimeZone::getDefault()
Return a TimeZone object representing the system default time zone
- getDefaultFormat
- in file Span.php, method Date_Span::getDefaultFormat()
Get the default format.
- getDefaultInputFormat
- in file Span.php, method Date_Span::getDefaultInputFormat()
Get the default input format.
- getDSTLongName
- in file TimeZone.php, method Date_TimeZone::getDSTLongName()
Returns the DST long name for this time zone
- getDSTSavings
- in file TimeZone.php, method Date_TimeZone::getDSTSavings()
Get the DST offset for this time zone
- getDSTShortName
- in file TimeZone.php, method Date_TimeZone::getDSTShortName()
Returns the DST short name for this time zone
- getHour
- in file Date.php, method Date::getHour()
Returns the hour field of the date object
- getID
- in file TimeZone.php, method Date_TimeZone::getID()
Returns the id for this time zone
- getJulianDate
- in file Date.php, method Date::getJulianDate()
Get the Julian date for this date
- getLongName
- in file TimeZone.php, method Date_TimeZone::getLongName()
Returns the long name for this time zone
- getMinute
- in file Date.php, method Date::getMinute()
Returns the minute field of the date object
- getMonth
- in file Calc.php, method Date_Calc::getMonth()
Returns the current local month in format MM
- getMonth
- in file Date.php, method Date::getMonth()
Returns the month field of the date object
- 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()
Returns 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
- getOffset
- in file TimeZone.php, method Date_TimeZone::getOffset()
Get the DST-corrected offset to UTC for the given date
- 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
- getRawOffset
- in file TimeZone.php, method Date_TimeZone::getRawOffset()
Returns the raw (non-DST-corrected) offset from UTC/GMT for this time zone
- getSecond
- in file Date.php, method Date::getSecond()
Returns the second field of the date object
- getShortName
- in file TimeZone.php, method Date_TimeZone::getShortName()
Returns the short name for this time zone
- 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 Date.php, method Date::getYear()
Returns the year field of the date object
- getYear
- in file Calc.php, method Date_Calc::getYear()
Returns the current local year in format CCYY
- greater
- in file Span.php, method Date_Span::greater()
Tells if this time span is greater than $time.
- greaterEqual
- in file Span.php, method Date_Span::greaterEqual()
Tells if this time span is greater or equal than $time.
- gregorianToHuman
- in file Human.php, method Date_Human::gregorianToHuman()
Returns an associative array containing the converted date information in 'Human Calendar' format.
- gregorianToISO
- in file Calc.php, method Date_Calc::gregorianToISO()
Converts from Gregorian Year-Month-Day to ISO YearNumber-WeekNumber-WeekDay
top
top
i
- $id
- in file TimeZone.php, variable Date_TimeZone::$id
Time Zone ID of this time zone
- inDaylightTime
- in file Date.php, method Date::inDaylightTime()
Tests if this date/time is in DST
- inDaylightTime
- in file TimeZone.php, method Date_TimeZone::inDaylightTime()
Is the given date/time in DST for this time zone
- isEmpty
- in file Span.php, method Date_Span::isEmpty()
Tells if the time span is empty (zero length).
- isEqual
- in file TimeZone.php, method Date_TimeZone::isEqual()
Is this time zone equal to another
- isEquivalent
- in file TimeZone.php, method Date_TimeZone::isEquivalent()
Is this time zone equivalent to another
- isFuture
- in file Date.php, method Date::isFuture()
Determine if this date is in the future
- isFutureDate
- in file Calc.php, method Date_Calc::isFutureDate()
Determines if given date is a future date from now.
- isLeapYear
- in file Date.php, method Date::isLeapYear()
Determine if the year in this date is a leap year
- isLeapYear
- in file Calc.php, method Date_Calc::isLeapYear()
Returns true for a leap year, else false
- isPast
- in file Date.php, method Date::isPast()
Determine if this date is in the past
- isPastDate
- in file Calc.php, method Date_Calc::isPastDate()
Determines if given date is a past date from now.
- isValidDate
- in file Calc.php, method Date_Calc::isValidDate()
Returns true for valid date, false for invalid date.
- isValidID
- in file TimeZone.php, method Date_TimeZone::isValidID()
Tests if given id is represented in the $_DATE_TIMEZONE_DATA time zone data
top
j
- julianDate
- in file Calc.php, method Date_Calc::julianDate()
Returns number of days since 31 December of year before given date.
top
l
- $longname
- in file TimeZone.php, variable Date_TimeZone::$longname
Long Name of this time zone (ie Central Standard Time)
- lower
- in file Span.php, method Date_Span::lower()
Tells if this time span is lower than $time.
- lowerEqual
- in file Span.php, method Date_Span::lowerEqual()
Tells if this time span is lower or equal than $time.
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 after 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
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
s
- $second
- in file Span.php, variable Date_Span::$second
- $second
- in file Date.php, variable Date::$second
the second
- $shortname
- in file TimeZone.php, variable Date_TimeZone::$shortname
Short Name of this time zone (ie CST)
- Span.php
- procedural page Span.php
- set
- in file Span.php, method Date_Span::set()
Set the time span to a new value in a 'smart' way.
- 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
- setDefault
- in file TimeZone.php, method Date_TimeZone::setDefault()
Sets the system default time zone to the time zone in $id
- setDefaultFormat
- in file Span.php, method Date_Span::setDefaultFormat()
Set the default format.
- setDefaultInputFormat
- in file Span.php, method Date_Span::setDefaultInputFormat()
Set the default input format.
- setFromArray
- in file Span.php, method Date_Span::setFromArray()
Set the time span from an array.
- setFromDateDiff
- in file Span.php, method Date_Span::setFromDateDiff()
Set the span from the elapsed time between two dates.
- setFromDays
- in file Span.php, method Date_Span::setFromDays()
Set the time span from a total number of days.
- setFromHours
- in file Span.php, method Date_Span::setFromHours()
Set the time span from a total number of hours.
- setFromMinutes
- in file Span.php, method Date_Span::setFromMinutes()
Set the time span from a total number of minutes.
- setFromSeconds
- in file Span.php, method Date_Span::setFromSeconds()
Set the time span from a total number of seconds.
- setFromString
- in file Span.php, method Date_Span::setFromString()
Set the time span from a string based on an input format.
- 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
- setUp
- in file testunit_date_span.php, method Date_SpanTest::setUp()
- setUp
- in file testunit_date.php, method Date_Test::setUp()
- setYear
- in file Date.php, method Date::setYear()
Set the year field of the date object
- subtract
- in file Span.php, method Date_Span::subtract()
Subtracts a time span.
- subtractSeconds
- in file Date.php, method Date::subtractSeconds()
Subtracts a given number of seconds from the date
- subtractSpan
- in file Date.php, method Date::subtractSpan()
Subtracts a time span to the date
top
t
- $time
- in file testunit_date.php, variable Date_Test::$time
- $time
- in file testunit_date_span.php, variable Date_SpanTest::$time
- $tz
- in file Date.php, variable Date::$tz
timezone for this date
- TimeZone.php
- procedural page TimeZone.php
- testunit_date.php
- procedural page testunit_date.php
- testunit_date_span.php
- procedural page testunit_date_span.php
- testunit.php
- procedural page testunit.php
- test_calc.php
- procedural page test_calc.php
- test_date_methods_span.php
- procedural page test_date_methods_span.php
- tearDown
- in file testunit_date.php, method Date_Test::tearDown()
- tearDown
- in file testunit_date_span.php, method Date_SpanTest::tearDown()
- testAbstraction
- in file testunit_date.php, method Date_Test::testAbstraction()
- testAdd
- in file testunit_date_span.php, method Date_SpanTest::testAdd()
- testCopy
- in file testunit_date_span.php, method Date_SpanTest::testCopy()
- testDateCopy
- in file testunit_date.php, method Date_Test::testDateCopy()
- testDateISO
- in file testunit_date.php, method Date_Test::testDateISO()
- testDateISOBasic
- in file testunit_date.php, method Date_Test::testDateISOBasic()
- testDateISOExtended
- in file testunit_date.php, method Date_Test::testDateISOExtended()
- testDateISOTimestamp
- in file testunit_date.php, method Date_Test::testDateISOTimestamp()
- testDateNull
- in file testunit_date.php, method Date_Test::testDateNull()
- testDateUnixtime
- in file testunit_date.php, method Date_Test::testDateUnixtime()
- testFormat
- in file testunit_date.php, method Date_Test::testFormat()
- testFormat
- in file testunit_date_span.php, method Date_SpanTest::testFormat()
- testGetDateISO
- in file testunit_date.php, method Date_Test::testGetDateISO()
- testGetDateISOBasic
- in file testunit_date.php, method Date_Test::testGetDateISOBasic()
- testGetDateISOExtended
- in file testunit_date.php, method Date_Test::testGetDateISOExtended()
- testGetDateTimestamp
- in file testunit_date.php, method Date_Test::testGetDateTimestamp()
- testGetDateUnixtime
- in file testunit_date.php, method Date_Test::testGetDateUnixtime()
- testSetDateISO
- in file testunit_date.php, method Date_Test::testSetDateISO()
- testSetDateISOBasic
- in file testunit_date.php, method Date_Test::testSetDateISOBasic()
- testSetDateISOExtended
- in file testunit_date.php, method Date_Test::testSetDateISOExtended()
- testSetDateTimestamp
- in file testunit_date.php, method Date_Test::testSetDateTimestamp()
- testSetDateUnixtime
- in file testunit_date.php, method Date_Test::testSetDateUnixtime()
- testSetFromArray
- in file testunit_date_span.php, method Date_SpanTest::testSetFromArray()
- testSetFromDateDiff
- in file testunit_date_span.php, method Date_SpanTest::testSetFromDateDiff()
- testSetFromDays
- in file testunit_date_span.php, method Date_SpanTest::testSetFromDays()
- testSetFromHours
- in file testunit_date_span.php, method Date_SpanTest::testSetFromHours()
- testSetFromMinutes
- in file testunit_date_span.php, method Date_SpanTest::testSetFromMinutes()
- testSetFromSeconds
- in file testunit_date_span.php, method Date_SpanTest::testSetFromSeconds()
- testSetFromString
- in file testunit_date_span.php, method Date_SpanTest::testSetFromString()
- testSubtract
- in file testunit_date_span.php, method Date_SpanTest::testSubtract()
- testToUTCbyOffset
- in file testunit_date.php, method Date_Test::testToUTCbyOffset()
- toDays
- in file Span.php, method Date_Span::toDays()
Convert time span to days.
- toHours
- in file Span.php, method Date_Span::toHours()
Convert time span to hours.
- toMinutes
- in file Span.php, method Date_Span::toMinutes()
Convert time span to minutes.
- toSeconds
- in file Span.php, method Date_Span::toSeconds()
Convert time span to seconds.
- toUTC
- in file Date.php, method Date::toUTC()
Converts this date to UTC and sets this date's timezone to UTC
- toUTCbyOffset
- in file Date.php, method Date::toUTCbyOffset()
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
Documentation generated on Sat, 1 May 2004 03:34:26 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.
|
|