getActualPattern (I18n - JavaScript)

If the given pattern is one of the 6 predefined patterns, this method returns the explicit string for this pattern, according to the XSP server locale. For example : M/d/yy for in a US locale If the given pattern is an explicit pattern (like HH:mm), the pattern is returned just as it is.

Defined in

I18n

Syntax

getActualPattern(pattern:string) : string

getActualPattern(pattern:string, loc:Locale) : string