lucee.Component
mura.cfobject
mura.resourceBundle.utils
This provides resource bundle utility methods
| Constructor Summary | |
|---|---|
|
init(any locale='en_US')
|
|
| Method Summary | |
|---|---|
any
|
dateLocaleFormat(date date, [string style='LONG'])
locale version of dateFormat. |
any
|
datetimeLocaleFormat(date date, [string dateStyle='SHORT'], [string timeStyle='SHORT'])
locale date/time format. |
array
|
getAvailableLocales()
Returns an array of locales. |
any
|
getCurrentLocale()
Returns current locale. |
any
|
getJSDateKey()
|
any
|
getJSDateKeyExample()
|
any
|
getJSDateKeyFormat()
|
any
|
getJsDateKeyObjInc()
|
array
|
getLocalizedDays()
Returns localized days. |
any
|
getLocalizedMonth(numeric month)
Returns localized month. |
any
|
getLocalizedName()
Returns current locale name. |
any
|
getLocalizedYear(numeric thisYear)
Returns localized year, probably only useful for BE calendars like in thailand, etc. |
boolean
|
isBIDI()
|
boolean
|
isValidLocale(string thisLocale)
|
any
|
java2CF()
Switches Java locale to CF locale (for CF6). |
any
|
loadLocale()
Loads a locale. |
any
|
setJSDateKeys()
|
any
|
timeLocaleFormat(date date, [string style='SHORT'])
locale version of timeFormat. |
any
|
weekStarts()
Determines the first DOW. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
locale| Method Detail |
|---|
locale version of dateFormat
datestylelocale date/time format
datedateStyletimeStyleReturns an array of locales.
Returns current locale
Returns localized days
Returns localized month
monthReturns current locale name
Returns localized year, probably only useful for BE calendars like in thailand, etc.
thisYearthisLocaleSwitches Java locale to CF locale (for CF6)
Loads a locale.
locale version of timeFormat
datestyleDetermines the first DOW