mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
LibUnicode: Generate currency unit-pattern number formats
These are used when formatting a number as currency with a display option of "name" (e.g. for USD, the name is "US Dollars" in en-US). These patterns appear in the CLDR in a different manner than other number formats that are pluralized. They are of the form "{0} {1}", therefore do not undergo subpattern replacements.
This commit is contained in:
parent
39e031c4dd
commit
9421d5c0cf
2 changed files with 32 additions and 9 deletions
|
@ -95,6 +95,7 @@ enum class StandardNumberFormatType : u8 {
|
|||
enum class CompactNumberFormatType : u8 {
|
||||
DecimalLong,
|
||||
DecimalShort,
|
||||
CurrencyUnit,
|
||||
CurrencyShort,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue