mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:05:08 +00:00
LibUnicode: Convert UnicodeDateTimeFormat to link with weak symbols
This commit is contained in:
parent
98709d9be1
commit
ba4cdf34f8
6 changed files with 85 additions and 167 deletions
|
@ -64,27 +64,6 @@ struct Symbols {
|
|||
Optional<LanguageID> (*add_likely_subtags)(LanguageID const&);
|
||||
Optional<String> (*resolve_most_likely_territory)(LanguageID const&);
|
||||
|
||||
// Loaded from UnicodeDateTimeFormat.cpp:
|
||||
|
||||
Vector<HourCycle> (*get_regional_hour_cycles)(StringView) { nullptr };
|
||||
|
||||
Optional<CalendarFormat> (*get_calendar_date_format)(StringView, StringView) { nullptr };
|
||||
Optional<CalendarFormat> (*get_calendar_time_format)(StringView, StringView) { nullptr };
|
||||
Optional<CalendarFormat> (*get_calendar_date_time_format)(StringView, StringView) { nullptr };
|
||||
Vector<CalendarPattern> (*get_calendar_available_formats)(StringView, StringView) { nullptr };
|
||||
|
||||
Optional<CalendarRangePattern> (*get_calendar_default_range_format)(StringView, StringView) { nullptr };
|
||||
Vector<CalendarRangePattern> (*get_calendar_range_formats)(StringView, StringView, StringView) { nullptr };
|
||||
Vector<CalendarRangePattern> (*get_calendar_range12_formats)(StringView, StringView, StringView) { nullptr };
|
||||
|
||||
Optional<StringView> (*get_calendar_era_symbol)(StringView, StringView, CalendarPatternStyle, Era) { nullptr };
|
||||
Optional<StringView> (*get_calendar_month_symbol)(StringView, StringView, CalendarPatternStyle, Month) { nullptr };
|
||||
Optional<StringView> (*get_calendar_weekday_symbol)(StringView, StringView, CalendarPatternStyle, Weekday) { nullptr };
|
||||
Optional<StringView> (*get_calendar_day_period_symbol)(StringView, StringView, CalendarPatternStyle, DayPeriod) { nullptr };
|
||||
Optional<StringView> (*get_calendar_day_period_symbol_for_hour)(StringView, StringView, CalendarPatternStyle, u8) { nullptr };
|
||||
|
||||
Optional<StringView> (*get_time_zone_name)(StringView, StringView, CalendarPatternStyle) { nullptr };
|
||||
|
||||
private:
|
||||
Symbols() = default;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue