mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
LibUnicode: Use BCP 47 data to filter valid calendar names
This commit is contained in:
parent
71d86261c3
commit
70ede2825e
4 changed files with 25 additions and 12 deletions
|
@ -186,9 +186,7 @@ StringView hour_cycle_to_string(HourCycle hour_cycle);
|
|||
CalendarPatternStyle calendar_pattern_style_from_string(StringView style);
|
||||
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);
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue