|
Mura CMS 6.1 | ||||
| FRAMES | |||||
railo-context.Component
mura.cfobject
mura.resourceBundle.utils
public class utils
| Constructor Summary | |
|---|---|
init(any locale='en_US')
|
|
| Method Summary | |
|---|---|
string |
dateLocaleFormat(date date, [string style='LONG'])
locale version of dateFormat |
string |
datetimeLocaleFormat(date date, [string dateStyle='SHORT'], [string timeStyle='SHORT'])
locale date/time format |
array |
getAvailableLocales()
Returns an array of locales |
string |
getCurrentLocale()
Returns current locale |
any |
getJSDateKey()
|
any |
getJSDateKeyExample()
|
any |
getJSDateKeyFormat()
|
array |
getLocalizedDays()
Returns localized days |
string |
getLocalizedMonth(numeric month)
Returns localized month |
string |
getLocalizedName()
Returns current locale name |
string |
getLocalizedYear(numeric thisYear)
Returns localized year, probably only useful for BE calendars like in thailand, etc |
boolean |
isBIDI()
|
boolean |
isValidLocale(string thisLocale)
|
string |
java2CF()
Switches Java locale to CF locale (for CF6) |
void |
loadLocale()
Loads a locale |
any |
setJSDateKeys()
|
string |
timeLocaleFormat(date date, [string style='SHORT'])
locale version of timeFormat |
string |
weekStarts()
Determines the first DOW |
| Methods inherited from class mura.cfobject |
|---|
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
|
| Methods inherited from class railo-context.Component |
|---|
|
| Constructor Detail |
|---|
public init(any locale='en_US')
locale| Method Detail |
|---|
public string dateLocaleFormat(date date, [string style='LONG'])
datestylepublic string datetimeLocaleFormat(date date, [string dateStyle='SHORT'], [string timeStyle='SHORT'])
datedateStyletimeStylepublic array getAvailableLocales()
public string getCurrentLocale()
public any getJSDateKey()
public any getJSDateKeyExample()
public any getJSDateKeyFormat()
public array getLocalizedDays()
public string getLocalizedMonth(numeric month)
monthpublic string getLocalizedName()
public string getLocalizedYear(numeric thisYear)
thisYearpublic boolean isBIDI()
public boolean isValidLocale(string thisLocale)
thisLocalepublic string java2CF()
public void loadLocale()
public any setJSDateKeys()
public string timeLocaleFormat(date date, [string style='SHORT'])
datestylepublic string weekStarts()
|
Mura CMS 6.1 | ||||
| FRAMES | |||||