mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 08:02:52 +00:00
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
GenerateUnicodeData.cpp | ||
GenerateUnicodeDateTimeFormat.cpp | ||
GenerateUnicodeLocale.cpp | ||
GenerateUnicodeNumberFormat.cpp | ||
GenerateUnicodeRelativeTimeFormat.cpp | ||
GeneratorUtil.h |