Sets if the usage of Ascii digits in formatting should be enforced in
formatted date/time even for locales where native digits are indicated.
Also sets whether to remove RLM unicode control characters when using
standard enumerated patterns (they exist e.g. in standard d/M/y for Arabic).
Production code should call this once before any DateTimeFormat
object is instantiated.
Caveats:
* Enforcing ASCII digits affects all future formatting by new or existing
DateTimeFormat
objects.
* Removal of RLM characters only applies to DateTimeFormat
objects
instantiated after this call.
Parameters | enforceAsciiDigits | boolean | | Whether Ascii digits should be enforced.
|
|
---|