1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:37:42 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
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
..
IPCCompiler Meta: Rename Lagom library target names from LagomFoo to LibFoo 2022-07-06 14:24:23 +02:00
LibEDID Meta: Rename Lagom library target names from LagomFoo to LibFoo 2022-07-06 14:24:23 +02:00
LibTimeZone LibTimeZone: Parse and generate a list of time zones used by region 2022-07-06 16:56:42 +02:00
LibUnicode LibUnicode: Generate per-region week data 2022-07-06 16:56:42 +02:00
LibWeb Meta: Rename Lagom library target names from LagomFoo to LibFoo 2022-07-06 14:24:23 +02:00
StateMachineGenerator Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CMakeLists.txt Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00