n2n Page Rocket 1 API

n2n\l10n

­L10n­Utils

L10nUtils

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