1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

LibUnicode: Generate a list of available calendars

This commit is contained in:
Timothy Flynn 2022-01-30 16:45:35 -05:00 committed by Linus Groh
parent 48eecaad64
commit ebd33e580b
4 changed files with 33 additions and 0 deletions

View file

@ -189,6 +189,8 @@ StringView calendar_pattern_style_to_string(CalendarPatternStyle style);
Optional<Calendar> calendar_from_string(StringView calendar);
Optional<HourCycleRegion> hour_cycle_region_from_string(StringView hour_cycle_region);
Span<StringView const> get_available_calendars();
Vector<HourCycle> get_regional_hour_cycles(StringView region);
Vector<Unicode::HourCycle> get_locale_hour_cycles(StringView locale);
Optional<Unicode::HourCycle> get_default_regional_hour_cycle(StringView locale);