ILibLocaleInfo class
Constructors
- ILibLocaleInfo([String lo = 'en-US'])
-
loSet the locale for which the info is sought
Properties
Methods
-
getAllScripts(
) → List< String> - Return an array of script codes used to write text in the current language.
-
getCalendar(
) → String - Return the name of the calendar commonly used in the locale.
-
getClock(
) → String - Return whether this locale commonly uses the 12- or the 24-hour clock.
-
getCurrency(
) → String - Return the currency that is legal in the locale or most commonly used in commerce.
-
getCurrencyFormats(
) → CurrencyFormats - Return CurrencyFormats containing the format templates for formatting currencies in this locale.
-
getDecimalSeparator(
) → String - Return the decimal separator for formatted numbers in this locale
-
getDefaultScript(
) → String - Return the default script used to write text in the language of this locale.
-
getDelimiterQuotationEnd(
) → String - Return the default Delimiter QuotationEnd information in this locale.
-
getDelimiterQuotationStart(
) → String - Return the default Delimiter QuotationStart information in this locale.
-
getDigits(
) → String? - Return the digits of the default script if they are defined.
-
getDigitsStyle(
) → String - Return a string that describes the style of digits used by this locale.
-
getExponential(
) → String - Return the symbol used for exponential in this locale.
-
getFirstDayOfWeek(
) → int - Returns the day of week that starts weeks in the current locale.
-
getGroupingSeparator(
) → String - Return the separator character used to separate groups of digits on the integer side of the decimal character.
-
getLanguageName(
) → String - Return the name of the locale's language in English.
-
getLocale(
) → ILibLocale - Return the locale that this info object was created with.
-
getMeridiemsStyle(
) → String - Return the default style of meridiems used in this locale.
-
getNativeDecimalSeparator(
) → String - Return the decimal separator for formatted numbers in this locale for native script.
-
getNativeDigits(
) → String? - Return the digits of the native script if they are defined.
-
getNativeExponential(
) → String - Return the symbol used for exponential in this locale for native script.
-
getNativeGroupingSeparator(
) → String - Return the separator character used to separate groups of digits on the integer side of the decimal character for the native script.
-
getNativePercentageSymbol(
) → String - Return the symbol used for percentages in this locale for native script.
-
getNegativeNumberFormat(
) → String - Return the format template used to format negative numbers in this locale.
-
getNegativePercentageFormat(
) → String - Return the format template used to format percentages in this locale with negative amounts
-
getPaperSize(
) → String - Return the default PaperSize information in this locale.
-
getPercentageFormat(
) → String - Return the format template used to format percentages in this locale
-
getPercentageSymbol(
) → String - Return the symbol used for percentages in this locale.
-
getPrimaryGroupingDigits(
) → int - Return the minimum number of digits grouped together on the integer side for the first (primary) group.
-
getRegionName(
) → String? - Return the name of the locale's region in English.
-
getRoundingMode(
) → String - Return the rounding mode used for numeric formatting in this locale.
-
getScript(
) → String -
Return the script used for the current locale.
If the current locale explicitly defines a script, then this script is returned.
If not, then the default script for the locale is returned. -
getSecondaryGroupingDigits(
) → int - Return the minimum number of digits grouped together on the integer side for the second or more (secondary) group.
-
getTimeZone(
) → String - Return the default time zone for this locale.
-
getUnits(
) → String - Return the name of the measuring system commonly used in the locale.
-
getWeekEndEnd(
) → int - Returns the day of week that ends weekend in the current locale.
-
getWeekEndStart(
) → int - Returns the day of week that starts weekend in the current locale.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited