Philip Chimento
1213ab17ec
Temporal: Remove getCalendar and getTimeZone methods
...
Temporarily replace them with getISOFields().calendar/timeZone just to
keep the tests running until we remove Calendar and TimeZone objects
altogether.
See: tc39/proposal-temporal#2826
2024-07-05 10:43:53 +02:00
Philip Chimento
a1bf99771c
Replace Temporal objects' .calendar getters with .calendarId/.getCalendar
...
This is the replacement of the old API with the new API. Semantics will be
corrected in the following commit.
Normative PR: https://github.com/tc39/proposal-temporal/pull/2482
2023-04-07 11:43:31 -07:00
Philip Chimento
77a34cf93f
Add Temporal tests
...
This copies over the tests that previously existed in the
tc39/proposal-temporal repository.
For context, see thread starting at:
https://github.com/tc39/test262/issues/3002#issuecomment-926234480
In service of https://github.com/tc39/test262/issues/3002
2021-10-01 14:30:12 -04:00