useNativeDigitsByDefaultFor method

dynamic useNativeDigitsByDefaultFor (String locale, bool value)

Indicate if a new DateFormat for locale should have useNativeDigits true.

For example, for locale 'ar' when this setting is true, DateFormat will format using Eastern Arabic digits, e.g. "\u0660, \u0661, \u0662". If it is false, a new DateFormat will format using ASCII digits.

If not indicated, the default value is true, so native digits will be used.


static useNativeDigitsByDefaultFor(String locale, bool value) {
  _useNativeDigitsByDefault[locale] = value;