mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibUnicode: Parse and generate standard percentage formatting rules
This commit is contained in:
parent
4317a1b552
commit
feb8c22a62
Notes:
sideshowbarker
2024-07-18 01:15:31 +09:00
Author: https://github.com/trflynn89
Commit: feb8c22a62
Pull-request: https://github.com/SerenityOS/serenity/pull/10873
Reviewed-by: https://github.com/linusg
4 changed files with 48 additions and 5 deletions
|
@ -821,6 +821,15 @@ Vector<NumberFormat> get_compact_number_system_formats([[maybe_unused]] StringVi
|
|||
#endif
|
||||
}
|
||||
|
||||
Optional<NumberFormat> get_standard_number_system_format([[maybe_unused]] StringView locale, [[maybe_unused]] StringView system, [[maybe_unused]] StandardNumberFormatType type)
|
||||
{
|
||||
#if ENABLE_UNICODE_DATA
|
||||
return Detail::get_standard_number_system_format(locale, system, type);
|
||||
#else
|
||||
return {};
|
||||
#endif
|
||||
}
|
||||
|
||||
Optional<ListPatterns> get_locale_list_patterns([[maybe_unused]] StringView locale, [[maybe_unused]] StringView type, [[maybe_unused]] StringView style)
|
||||
{
|
||||
#if ENABLE_UNICODE_DATA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue