LibUnicode: Parse and generate time zone names in long and short form

This commit is contained in:
Timothy Flynn 2021-12-06 15:46:49 -05:00 committed by Linus Groh
parent 2bbf8aa24c
commit b76e44f66f
Notes: sideshowbarker 2024-07-17 23:05:10 +09:00
4 changed files with 208 additions and 2 deletions

View file

@ -176,4 +176,13 @@ Optional<StringView> get_calendar_day_period_symbol([[maybe_unused]] StringView
#endif
}
Optional<StringView> get_time_zone_name([[maybe_unused]] StringView locale, [[maybe_unused]] StringView time_zone, [[maybe_unused]] CalendarPatternStyle style)
{
#if ENABLE_UNICODE_DATA
return Detail::get_time_zone_name(locale, time_zone, style);
#else
return {};
#endif
}
}