object DecimalStyle
Localized symbols used in date and time formatting.
A significant part of dealing with dates and times is the localization. This class acts as a central point for accessing the information.
Specification for implementors
This class is immutable and thread-safe.
- Alphabetic
- By Inheritance
- DecimalStyle
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- val STANDARD: DecimalStyle
The standard set of non-localized symbols.
The standard set of non-localized symbols.
This uses standard ASCII characters for zero, positive, negative and a dot for the decimal point.
- def getAvailableLocales: Set[Locale]
Lists all the locales that are supported.
Lists all the locales that are supported.
The locale 'en_US' will always be present.
- returns
an array of locales for which localization is supported
- def of(locale: Locale): DecimalStyle
Obtains symbols for the specified locale.
Obtains symbols for the specified locale.
This method provides access to locale sensitive symbols.
- locale
the locale, not null
- returns
the info, not null
- def ofDefaultLocale: DecimalStyle
Obtains symbols for the default locale.
Obtains symbols for the default locale.
This method provides access to locale sensitive symbols.
- returns
the info, not null