Methods summary
Modifier and Type | Method |
---|---|
public static | isL10nSupportAvailable ( ) |
public static | ensureL10nsupportIsAvailable ( ) |
public static | translateModuleTextCode ( DynamicTextCollection dtc , unknown module , unknown textCode , array args = null , unknown num = null , array replacements = null ) |
public static | formatNumber ( unknown value , unknown n2nLocale , unknown style = \NumberFormatter ) |
public static string | formatCurrency ( float value , N2nLocale|string n2nLocale , string currency = null ) |
public static | formatDateTimeWithIcuPattern ( DateTime dateTime , unknown n2nLocale , unknown icuPattern , DateTimeZone timeZone = null ) |
public static | parseDateTimeWithIcuPattern ( unknown expression , unknown n2nLocale , unknown icuPattern , DateTimeZone timeZone = null , unknown lenient = true ) |
public static | formatDateTimeInput ( DateTime dateTime , N2nLocale n2nLocale , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null ) |
public static | parseDateTimeInput ( unknown expression , N2nLocale n2nLocale , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null , unknown lenient = true ) |
public static | formatDateTime ( DateTime dateTime , unknown n2nLocale , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null ) |
public static DateTime | parseDateTime ( string expression , N2nLocale n2nLocale , string dateStyle = null , string timeStyle = null , DateTimeZone timeZone = null , bool lenient = true ) |
public static string | determineDateStyle ( N2nLocale n2nLocale , bool useInput = false ) |
public static string | determineTimeStyle ( N2nLocale n2nLocale , bool useInput = false ) |
Methods in detail
-
isL10nSupportAvailable
public static isL10nSupportAvailable ( ) -
ensureL10nsupportIsAvailable
public static ensureL10nsupportIsAvailable ( ) -
translateModuleTextCode
public static translateModuleTextCode ( DynamicTextCollection dtc , unknown module , unknown textCode , array args = null , unknown num = null , array replacements = null ) -
formatNumber
public static formatNumber ( unknown value , unknown n2nLocale , unknown style = \NumberFormatter ) -
formatCurrency
string public static formatCurrency ( float value , N2nLocale|string n2nLocale , string currency = null ) -
formatDateTimeWithIcuPattern
public static formatDateTimeWithIcuPattern ( DateTime dateTime , unknown n2nLocale , unknown icuPattern , DateTimeZone timeZone = null ) -
parseDateTimeWithIcuPattern
public static parseDateTimeWithIcuPattern ( unknown expression , unknown n2nLocale , unknown icuPattern , DateTimeZone timeZone = null , unknown lenient = true ) -
formatDateTimeInput
public static formatDateTimeInput ( DateTime dateTime , N2nLocale n2nLocale , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null ) -
parseDateTimeInput
public static parseDateTimeInput ( unknown expression , N2nLocale n2nLocale , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null , unknown lenient = true ) -
formatDateTime
public static formatDateTime ( DateTime dateTime , unknown n2nLocale , unknown dateStyle = null , unknown timeStyle = null , DateTimeZone timeZone = null ) -
parseDateTime
DateTime public static parseDateTime ( string expression , N2nLocale n2nLocale , string dateStyle = null , string timeStyle = null , DateTimeZone timeZone = null , bool lenient = true )param
return
DateTime -
determineDateStyle
-
determineTimeStyle
param
return