Element index for package Date
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ o ]
[ r ]
[ s ]
[ t ]
[ y ]
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
top
c
- compare
- in file Span.php, method Date_Span::compare()
Compares two time spans.
- 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
- copy
- in file Span.php, method Date_Span::copy()
Set the time span from another time object.
- Calc.php
- procedural page Calc.php
top
d
- $day
- in file Span.php, variable Date_Span::$day
- $day
- in file Date.php, variable Date::$day
the 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
- 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_Span
- in file Span.php, class Date_Span
Generic time span handling class for PEAR.
- Date_Span
- in file Span.php, method Date_Span::Date_Span()
Constructor.
- 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, method Date_TimeZone::Date_TimeZone()
Constructor
- Date_TimeZone
- in file TimeZone.php, class Date_TimeZone
TimeZone representation class, along with time zone information data.
top
e
- 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
- 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
- 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
- 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 Date.php, method Date::getMonth()
Returns the month field of the date object
- getMonthName
- in file Date.php, method Date::getMonthName()
Gets the full name or abbriviated name of this month
- 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
- 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
- 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.
top
top
i
- $id
- in file TimeZone.php, variable Date_TimeZone::$id
Time Zone ID of this time zone
- inDaylightTime
- in file TimeZone.php, method Date_TimeZone::inDaylightTime()
Is the given date/time in DST for this time zone
- inDaylightTime
- in file Date.php, method Date::inDaylightTime()
Tests if this date/time is in DST
- 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
- isLeapYear
- in file Date.php, method Date::isLeapYear()
Determine if the year in this date is a leap year
- isPast
- in file Date.php, method Date::isPast()
Determine if this date is in the past
- isValidID
- in file TimeZone.php, method Date_TimeZone::isValidID()
Tests if given id is represented in the $_DATE_TIMEZONE_DATA time zone data
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
m
- $minute
- in file Date.php, variable Date::$minute
the minute
- $minute
- in file Span.php, variable Date_Span::$minute
- $month
- in file Date.php, variable Date::$month
the month
- myDate
- in file testunit_date.php, method myDate::myDate() (subpackage: Date-1.4.2)
- myDate
- in file testunit_date.php, class myDate (subpackage: Date-1.4.2)
Generic date handling class for PEAR.
top
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
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.
|
|