Element index for package apidoc
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ n ]
[ p ]
[ q ]
[ w ]
b
- beginOfMonth
- in file Calc.php, method Date_Calc::beginOfMonth() (subpackage: Date-1.4.2)
Return date of first day of month of given date.
- beginOfNextMonth
- in file Calc.php, method Date_Calc::beginOfNextMonth() (subpackage: Date-1.4.2)
Returns date of begin of next month of given date.
- beginOfNextWeek
- in file Calc.php, method Date_Calc::beginOfNextWeek() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
Returns date of the first day of previous month of given date.
- beginOfPrevWeek
- in file Calc.php, method Date_Calc::beginOfPrevWeek() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
Find the month day of the beginning of week for given date, using DATE_CALC_BEGIN_WEEKDAY. (can return weekday of prev month.)
top
top
d
- dateDiff
- in file Calc.php, method Date_Calc::dateDiff() (subpackage: Date-1.4.2)
Returns number of days between two given dates.
- dateFormat
- in file Calc.php, method Date_Calc::dateFormat() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
Converts a date to number of days since a distant unspecified epoch.
- Date_Calc
- in file Calc.php, class Date_Calc (subpackage: Date-1.4.2)
Date_Calc is a calendar class used to calculate and
- Date_Human
- in file Human.php, class Date_Human (subpackage: Date-1.4.2)
Class to convert date strings between Gregorian and Human calendar formats.
- dayOfWeek
- in file Calc.php, method Date_Calc::dayOfWeek() (subpackage: Date-1.4.2)
Returns day of week for given date, 0=Sunday
- daysInMonth
- in file Calc.php, method Date_Calc::daysInMonth() (subpackage: Date-1.4.2)
Find the number of days in the given month.
- daysToDate
- in file Calc.php, method Date_Calc::daysToDate() (subpackage: Date-1.4.2)
Converts number of days to a distant unspecified epoch.
- defaultCentury
- in file Calc.php, method Date_Calc::defaultCentury() (subpackage: Date-1.4.2)
Sets century for 2 digit year.
top
e
- endOfNextMonth
- in file Calc.php, method Date_Calc::endOfNextMonth() (subpackage: Date-1.4.2)
Returns date of the last day of next month of given date.
- endOfPrevMonth
- in file Calc.php, method Date_Calc::endOfPrevMonth() (subpackage: Date-1.4.2)
Returns date of the last day of previous month for given date.
- endOfWeek
- in file Calc.php, method Date_Calc::endOfWeek() (subpackage: Date-1.4.2)
Find the month day of the end of week for given date, using DATE_CALC_BEGIN_WEEKDAY. (can return weekday of following month.)
top
f
- firstOfMonthWeekday
- in file Calc.php, method Date_Calc::firstOfMonthWeekday() (subpackage: Date-1.4.2)
Find the day of the week for the first of the month of given date.
top
g
- getCalendarMonth
- in file Calc.php, method Date_Calc::getCalendarMonth() (subpackage: Date-1.4.2)
Return a set of arrays to construct a calendar month for the given date.
- getCalendarWeek
- in file Calc.php, method Date_Calc::getCalendarWeek() (subpackage: Date-1.4.2)
Return an array with days in week
- getCalendarYear
- in file Calc.php, method Date_Calc::getCalendarYear() (subpackage: Date-1.4.2)
Return a set of arrays to construct a calendar year for the given date.
- getDay
- in file Calc.php, method Date_Calc::getDay() (subpackage: Date-1.4.2)
Returns the current local day in format DD
- getMonth
- in file Calc.php, method Date_Calc::getMonth() (subpackage: Date-1.4.2)
Returns the current local month in format MM
- getMonthAbbrname
- in file Calc.php, method Date_Calc::getMonthAbbrname() (subpackage: Date-1.4.2)
Returns the abbreviated month name for the given month
- getMonthFromFullName
- in file Calc.php, method Date_Calc::getMonthFromFullName() (subpackage: Date-1.4.2)
Returns the numeric month from the month name or an abreviation
- getMonthFullname
- in file Calc.php, method Date_Calc::getMonthFullname() (subpackage: Date-1.4.2)
Returns the full month name for the given month
- getMonthNames
- in file Calc.php, method Date_Calc::getMonthNames() (subpackage: Date-1.4.2)
Returns an array of month names
- getWeekdayAbbrname
- in file Calc.php, method Date_Calc::getWeekdayAbbrname() (subpackage: Date-1.4.2)
Returns the abbreviated weekday name for the given date
- getWeekdayFullname
- in file Calc.php, method Date_Calc::getWeekdayFullname() (subpackage: Date-1.4.2)
Returns the full weekday name for the given date
- getWeekDays
- in file Calc.php, method Date_Calc::getWeekDays() (subpackage: Date-1.4.2)
Returns an array of week days
- getYear
- in file Calc.php, method Date_Calc::getYear() (subpackage: Date-1.4.2)
Returns the current local year in format CCYY
- gregorianToHuman
- in file Human.php, method Date_Human::gregorianToHuman() (subpackage: Date-1.4.2)
Returns an associative array containing the converted date information in 'Human Calendar' format.
- gregorianToISO
- in file Calc.php, method Date_Calc::gregorianToISO() (subpackage: Date-1.4.2)
Converts from Gregorian Year-Month-Day to ISO YearNumber-WeekNumber-WeekDay
top
h
- HumanToGregorian
- in file Human.php, method Date_Human::HumanToGregorian() (subpackage: Date-1.4.2)
Returns unix timestamp for a given Human Calendar date
top
i
- isFutureDate
- in file Calc.php, method Date_Calc::isFutureDate() (subpackage: Date-1.4.2)
Determines if given date is a future date from now.
- isLeapYear
- in file Calc.php, method Date_Calc::isLeapYear() (subpackage: Date-1.4.2)
Returns true for a leap year, else false
- isPastDate
- in file Calc.php, method Date_Calc::isPastDate() (subpackage: Date-1.4.2)
Determines if given date is a past date from now.
- isValidDate
- in file Calc.php, method Date_Calc::isValidDate() (subpackage: Date-1.4.2)
Returns true for valid date, false for invalid date.
top
j
- julianDate
- in file Calc.php, method Date_Calc::julianDate() (subpackage: Date-1.4.2)
Returns number of days since 31 December of year before given date.
top
n
- nextDay
- in file Calc.php, method Date_Calc::nextDay() (subpackage: Date-1.4.2)
Returns date of day after given date.
- nextDayOfWeek
- in file Calc.php, method Date_Calc::nextDayOfWeek() (subpackage: Date-1.4.2)
Returns date of the next specific day of the week from the given date.
- nextDayOfWeekOnOrAfter
- in file Calc.php, method Date_Calc::nextDayOfWeekOnOrAfter() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
Returns date of the next weekday of given date, skipping from Friday to Monday.
- NWeekdayOfMonth
- in file Calc.php, method Date_Calc::NWeekdayOfMonth() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
Returns date of day before given date.
- prevDayOfWeek
- in file Calc.php, method Date_Calc::prevDayOfWeek() (subpackage: Date-1.4.2)
Returns date of the previous specific day of the week from the given date.
- prevDayOfWeekOnOrBefore
- in file Calc.php, method Date_Calc::prevDayOfWeekOnOrBefore() (subpackage: Date-1.4.2)
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() (subpackage: Date-1.4.2)
Returns date of the previous weekday, skipping from Monday to Friday.
top
q
- quarterOfYear
- in file Calc.php, method Date_Calc::quarterOfYear() (subpackage: Date-1.4.2)
Returns quarter of the year for given date
top
w
- weekOfYear
- in file Calc.php, method Date_Calc::weekOfYear() (subpackage: Date-1.4.2)
Returns week of the year, first Sunday is first day of first week
- weeksInMonth
- in file Calc.php, method Date_Calc::weeksInMonth() (subpackage: Date-1.4.2)
Returns the number of rows on a calendar month. Useful for determining the number of rows when displaying a typical month calendar.
top
Documentation generated on Sat, 1 May 2004 03:34:26 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.
|
|