mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:07:44 +00:00
LibUnicode: Add an API to retrieve a locale's default numbering system
This commit is contained in:
parent
cc5e9f0579
commit
6409900a5b
2 changed files with 12 additions and 0 deletions
|
@ -65,6 +65,8 @@ enum class NumericSymbol : u8 {
|
|||
PlusSign,
|
||||
};
|
||||
|
||||
Optional<StringView> get_default_number_system(StringView locale);
|
||||
|
||||
Optional<StringView> get_number_system_symbol(StringView locale, StringView system, NumericSymbol symbol);
|
||||
Optional<NumberGroupings> get_number_system_groupings(StringView locale, StringView system);
|
||||
String replace_digits_for_number_system(StringView system, StringView number);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue