Skip to content

Commit 311b0ff

Browse files
committed
Specify non-ISO8601 constraining behaviour in addition and conversion
This adds overrides of CalendarDateAdd and CalendarDateToISO that specify the general algorithm for constraining dates in calendars other than ISO8601. They are prose descriptions; the actual steps for each calendar remain implementation-defined. Some of the steps do not actually apply to any calendar that CLDR currently describes, but are still needed for a full generalization. Closes: #32
1 parent ec90d96 commit 311b0ff

File tree

3 files changed

+155
-62
lines changed

3 files changed

+155
-62
lines changed

biblio.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@
1717
"number": "Temporal, 12.1",
1818
"id": "sec-availablecalendars"
1919
},
20+
{
21+
"type": "clause",
22+
"number": "Temporal, 12.2.6",
23+
"id": "sec-temporal-calendardateadd"
24+
},
2025
{
2126
"type": "clause",
2227
"number": "Calendar Date Records",
2328
"id": "sec-temporal-calendar-date-records"
2429
},
30+
{
31+
"type": "clause",
32+
"number": "Temporal, 12.2.19",
33+
"id": "sec-temporal-calendardatetoiso"
34+
},
2535
{
2636
"type": "clause",
2737
"number": "Temporal, 12.2.7",
@@ -42,6 +52,11 @@
4252
"aoid": "TemporalCalendarFieldKeysToIgnore",
4353
"id": "sec-temporal-calendarfieldkeystoignore"
4454
},
55+
{
56+
"type": "op",
57+
"aoid": "CalendarISOToDate",
58+
"id": "sec-temporal-calendarisotodate"
59+
},
4560
{
4661
"type": "term",
4762
"term": "calendar type",
@@ -72,6 +87,21 @@
7287
"aoid": "RegulateISODate",
7388
"id": "sec-temporal-regulateisodate"
7489
},
90+
{
91+
"type": "term",
92+
"term": "ISO Date Record",
93+
"id": "sec-temporal-iso-date-records"
94+
},
95+
{
96+
"type": "op",
97+
"aoid": "ISODateWithinLimits",
98+
"id": "sec-temporal-isodatewithinlimits"
99+
},
100+
{
101+
"type": "op",
102+
"aoid": "RegulateISODate",
103+
"id": "sec-temporal-regulateisodate"
104+
},
75105
{
76106
"type": "term",
77107
"term": "calendar types",

0 commit comments

Comments
 (0)