DigitScript
Numeral script used when rendering digits in localized dates / times.
Each entry holds the ten code points for digits 0..9 in that script. Use String.localizeDigits(script) (in NepaliDateConverter) to convert any Latin-digit substring to the chosen script, and String.toLatinDigits() to go the other way.
Devanagari is shared by Nepali, Hindi, Marathi, Maithili, Bhojpuri, and Newari - picking DEVANAGARI is enough for all of those locales.
Entries
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.