LibLocale: Propagate OOM from CLDR DateTime Vector and String operations

This commit is contained in:
Timothy Flynn 2023-02-02 21:34:01 -05:00 committed by Linus Groh
commit 340434ce09
Notes: sideshowbarker 2024-07-17 00:39:13 +09:00
3 changed files with 19 additions and 13 deletions

View file

@ -189,7 +189,7 @@ CalendarPatternStyle calendar_pattern_style_from_string(StringView style);
StringView calendar_pattern_style_to_string(CalendarPatternStyle style);
Optional<HourCycleRegion> hour_cycle_region_from_string(StringView hour_cycle_region);
Vector<HourCycle> get_regional_hour_cycles(StringView region);
ErrorOr<Vector<HourCycle>> get_regional_hour_cycles(StringView region);
ErrorOr<Vector<HourCycle>> get_locale_hour_cycles(StringView locale);
ErrorOr<Optional<HourCycle>> get_default_regional_hour_cycle(StringView locale);