LibUnicode: Parse and generate compact decimal formatting rules

This commit is contained in:
Timothy Flynn 2021-10-25 12:15:10 -04:00 committed by Linus Groh
commit 604a596c90
Notes: sideshowbarker 2024-07-18 05:01:22 +09:00
4 changed files with 183 additions and 6 deletions

View file

@ -812,6 +812,15 @@ Optional<StringView> get_number_system_symbol([[maybe_unused]] StringView locale
#endif
}
Vector<NumberFormat> get_compact_number_system_formats([[maybe_unused]] StringView locale, [[maybe_unused]] StringView system, [[maybe_unused]] CompactNumberFormatType type)
{
#if ENABLE_UNICODE_DATA
return Detail::get_compact_number_system_formats(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