[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ j ] [ l ] [ m ] [ n ] [ o ] [ p ] [ ] [ s ] [ t ] [ w ] [ 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

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
beginOfMonthBySpan
in file Calc.php, method Date_Calc::beginOfMonthBySpan()
    Returns date of the first day of the month in the number of months from the 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
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
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
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
compareDates
in file Calc.php, method Date_Calc::compareDates()
    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 Span.php, method Date_Span::copy()
    Set the time span from another time object.
copy
in file Date.php, method Date::copy()
    Copy values from another Date 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
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()
dateNow
in file Calc.php, method Date_Calc::dateNow()
    Returns the current local date
dateSeason
in file Calc.php, method Date_Calc::dateSeason()
    Determines julian date of the given season
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
    Calculates, manipulates and retrieves dates
DATE_CALC_BEGIN_WEEKDAY
in file Calc.php, constant DATE_CALC_BEGIN_WEEKDAY
    Defines what day starts the week
DATE_CALC_FORMAT
in file Calc.php, constant DATE_CALC_FORMAT
    The default value for each method's $format parameter
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_ISO_EXTENDED_MICROTIME
in file Date.php, constant DATE_FORMAT_ISO_EXTENDED_MICROTIME
    "YYYY-MM-SSTHH:MM:SS(.S*)?(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_SPAN_INPUT_FORMAT_NNSV
in file Span.php, constant DATE_SPAN_INPUT_FORMAT_NNSV
    Non Numeric Separated Values (NNSV) Input Format.
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
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()
    Turns a two digit year into a four digit year
top

e

endOfMonthBySpan
in file Calc.php, method Date_Calc::endOfMonthBySpan()
    Returns date of the last day of the month in the number of months from the given date
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
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

$getWeekdayAbbrnameLength
in file Date.php, variable Date::$getWeekdayAbbrnameLength
    define the default weekday abbreviation length
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 Year-WeekNumber-WeekDay
top

h

$hasdst
in file TimeZone.php, variable Date_TimeZone::$hasdst
    true if this time zone observes daylight savings time
$hour
in file Span.php, variable Date_Span::$hour
$hour
in file Date.php, variable Date::$hour
    the hour
Human.php
procedural page Human.php
hasDaylightTime
in file TimeZone.php, method Date_TimeZone::hasDaylightTime()
    Returns true if this zone observes daylight savings time
HumanToGregorian
in file Human.php, method Date_Human::HumanToGregorian()
    Returns unix timestamp for a given Human Calendar date
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

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
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

o

$offset
in file TimeZone.php, variable Date_TimeZone::$offset
    offset, in milliseconds, of this timezone
top

p

$partsecond
in file Date.php, variable Date::$partsecond
    the parts of a second
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

q

quarterOfYear
in file Calc.php, method Date_Calc::quarterOfYear()
    Returns quarter of the year for given date
top

s

$second
in file Date.php, variable Date::$second
    the second
$second
in file Span.php, variable Date_Span::$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
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

$tz
in file Date.php, variable Date::$tz
    timezone for this date
TimeZone.php
procedural page TimeZone.php
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
top

y

$year
in file Date.php, variable Date::$year
    the year
top

_

__clone
in file Span.php, method Date_Span::__clone()
    Returns a copy of the object (workarround for PHP5 forward compatibility).
top

Documentation generated on Mon, 11 Mar 2019 14:05:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.