1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:05:07 +00:00
serenity/Userland/Libraries/LibUnicode
Timothy Flynn 12e7c0808a LibUnicode: Generate per-region week data
This includes:
* The minimum number of days in a week for that week to count as the
  first week of a new year.
* The day to be shown as the first day of the week in a calendar.
* The start/end days of the weekend.

Like the existing hour cycle data, week data is presented per-region in
the CLDR, rather than per-locale. The method to add likely subtags to a
locale to perform region lookups is the same.

The list of regions in the CLDR for hour cycle, minimum days, first day,
and weekend days are quite different. So rather than changing the
existing HourCycleRegion enum to a generic Region enum, we generate
separate enums for each of the week data fields. This allows each lookup
into these fields to remain simple array-based index access, without any
"jumps" for regions that don't have CLDR data for a field.
2022-07-06 16:56:42 +02:00
..
CharacterTypes.cpp Meta+LibUnicode: Download and parse Unicode block properties 2022-02-15 10:13:19 -05:00
CharacterTypes.h Meta+LibUnicode: Download and parse Unicode block properties 2022-02-15 10:13:19 -05:00
CMakeLists.txt LibUnicode: Parse and generate relative-time format patterns 2022-01-27 21:16:44 +00:00
CurrencyCode.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
CurrencyCode.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
DateTimeFormat.cpp LibUnicode: Generate per-region week data 2022-07-06 16:56:42 +02:00
DateTimeFormat.h LibUnicode: Generate per-region week data 2022-07-06 16:56:42 +02:00
Forward.h LibUnicode: Generate per-region week data 2022-07-06 16:56:42 +02:00
Locale.cpp LibUnicode: Generate per-locale text layout information 2022-07-06 16:56:42 +02:00
Locale.h LibUnicode: Generate per-locale text layout information 2022-07-06 16:56:42 +02:00
NumberFormat.cpp AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
NumberFormat.h LibUnicode: Extract the timeSeparator numeric symbol from CLDR 2022-07-01 01:00:05 +03:00
RelativeTimeFormat.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
RelativeTimeFormat.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00