Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

fbDateTime Class Reference

List of all members.

Detailed Description

Date and Time related functions.

Todo:
Rename fbDateTime to fbDateUtils?

Definition at line 27 of file DateTime.php.

Static Public Member Functions

 strftime ($format, $date=null)
 getLongDate ($date, $format=array('d', 'B', 'Y'), $locale=null)
 getShortDate ($date, $format=array('d', 'b', 'y'), $locale=null)
 getDateOrder ($locale=null)
 _getDateNames ($format, $locale=null)
 getLongMonthNames ($locale=null)
 getShortMonthNames ($locale=null)
 getLongWeekdayNames ($locale=null)
 getShortWeekdayNames ($locale=null)


Member Function Documentation

fbDateTime::_getDateNames format,
locale = null
[static]
 

Definition at line 327 of file DateTime.php.

References getLocale(), popLocale(), pushLocale(), and strftime().

Referenced by getLongMonthNames(), getLongWeekdayNames(), getShortMonthNames(), and getShortWeekdayNames().

fbDateTime::getDateOrder locale = null  )  [static]
 

Definition at line 294 of file DateTime.php.

References getLocale(), and strftime().

Referenced by getLongDate(), and getShortDate().

fbDateTime::getLongDate date,
format = array('d', 'B', 'Y'),
locale = null
[static]
 

Todo:
add sensing of leading zeros?
B d Y

Definition at line 229 of file DateTime.php.

References getDateOrder(), and strftime().

fbDateTime::getLongMonthNames locale = null  )  [static]
 

'B' => "full month name according to the current locale"

Definition at line 369 of file DateTime.php.

References _getDateNames().

Referenced by _guessLocale().

fbDateTime::getLongWeekdayNames locale = null  )  [static]
 

'A' => "full weekday name according to the current locale"

Definition at line 387 of file DateTime.php.

References _getDateNames().

fbDateTime::getShortDate date,
format = array('d', 'b', 'y'),
locale = null
[static]
 

Todo:
add sensing of leading zeros?
b d y

Definition at line 263 of file DateTime.php.

References getDateOrder(), and strftime().

fbDateTime::getShortMonthNames locale = null  )  [static]
 

'b' => "abbreviated month name according to the current locale"

Definition at line 378 of file DateTime.php.

References _getDateNames().

fbDateTime::getShortWeekdayNames locale = null  )  [static]
 

'a' => "abbreviated weekday name according to the current locale"

Definition at line 396 of file DateTime.php.

References _getDateNames().

fbDateTime::strftime format,
date = null
[static]
 

Definition at line 55 of file DateTime.php.

Referenced by _getDateNames(), getDateOrder(), getLongDate(), and getShortDate().


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:52:30 2004 for Freebeer by doxygen 1.3.6-20040222