API documentation :: Docs For Class arbitDateTimeFormatter
Packages:Interfaces:
Classes:
|
Core::arbitDateTimeFormatterClass arbitDateTimeFormatterLocale dependent date time formatter Locale dependent date time formatter
Member Variables
Method Summary
Methods__construct
void
__construct(
string
$locale
)
COnstruct formatter from two character locale abreviation COnstruct formatter from two character locale abreviation Parameters:
format
string
format(
string
$format
,
$time
)
Format date Format date given as a PHP DateTime object, which already includes time and timezon information. Format date Format date given as a PHP DateTime object, which already includes time and timezon information. The format string may be one of:
Parameters:
loadLocaleData
void
loadLocaleData(
string
$locale
)
Load locale data Try to load locale data. arbitUnknownLocaleException is thrown. Load locale data Try to load locale data. If no data is available for the given locale a arbitUnknownLocaleException is thrown. Parameters:
patternFormat
string
patternFormat(
string
$pattern
,
$time
)
Pattern based date formatting Return a date formatted based on the given patter. specified by the pattern are replaced by their language specific form, but the pattern is not modified for the current locale. Pattern based date formatting Return a date formatted based on the given patter. Textual names specified by the pattern are replaced by their language specific form, but the pattern is not modified for the current locale. Parameters:
tokenToValue
string
tokenToValue(
string
$token
,
$time
)
Convert pattern token to value Convert pattern token to value Convert a pattern token into the value depending on the given DateTime object Parameters:
Documentation generated on Mon, 05 Apr 2010 14:01:47 +0200 by phpDocumentor 1.4.3
|