ladybird/Libraries/LibJS/Runtime/Temporal
Timothy Flynn 4b1ecbc9df LibJS+LibUnicode: Update icu4x's calendar module to 2.2.0
First: We now pin the icu4x version to an exact number. Minor version
upgrades can result in noisy deprecation warnings and API changes which
cause tests to fail. So let's pin the known-good version exactly.

This patch updates our Rust calendar module to use the new APIs. This
initially caused some test failures due to the new Date::try_new API
(which is the recommended replacement for Date::try_new_from_codes)
having quite a limited year range of +/-9999. So we must use other
APIs (Date::try_from_fields and calendrical_calculations::gregorian)
to avoid these limits.

http://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md#icu4x-22
2026-04-14 18:12:31 -04:00
..
AbstractOperations.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
AbstractOperations.h LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
Calendar.cpp LibJS+LibUnicode: Update icu4x's calendar module to 2.2.0 2026-04-14 18:12:31 -04:00
Calendar.h LibJS+LibUnicode: Migrate MonthCode and its utilities to LibUnicode 2026-03-12 17:29:59 -05:00
DateEquations.cpp LibJS: Implement Temporal.PlainYearMonth.prototype.until/since 2024-11-22 19:55:24 +01:00
DateEquations.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
Duration.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
Duration.h LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
DurationConstructor.cpp LibJS: Use "either" / "one of" when comparing multiple items in Temporal 2026-02-14 19:47:29 +01:00
DurationConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
DurationPrototype.cpp LibJS: Use single-line if/else steps in Temporal operations 2026-02-14 19:47:29 +01:00
DurationPrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
Instant.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
Instant.h LibJS: Pass time zone strings around as String more regularly 2026-02-19 09:20:15 +01:00
InstantConstructor.cpp LibJS: Use consistent wording around NewTarget in Temporal constructors 2025-07-23 22:05:15 +02:00
InstantConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
InstantPrototype.cpp LibJS: Pass time zone strings around as String more regularly 2026-02-19 09:20:15 +01:00
InstantPrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
ISO8601.cpp LibJS: Correctly parse time zones with a negative GMT offset 2026-03-09 11:40:59 +01:00
ISO8601.h Revert "LibJS: Move ambiguous time string handling to a separate parser" 2026-01-30 08:01:45 +01:00
ISORecords.h LibJS+LibUnicode: Migrate some Temporal calendar types to LibUnicode 2026-03-09 11:40:59 +01:00
Now.cpp LibJS: Use Temporal for the Date constructor and Date.now() 2024-11-26 15:02:07 -05:00
Now.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainDate.cpp LibJS+LibUnicode: Migrate some Temporal calendar types to LibUnicode 2026-03-09 11:40:59 +01:00
PlainDate.h LibJS+LibUnicode: Migrate some Temporal calendar types to LibUnicode 2026-03-09 11:40:59 +01:00
PlainDateConstructor.cpp LibJS: Implement the Temporal.PlainDate constructor 2024-11-23 14:46:00 +01:00
PlainDateConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainDatePrototype.cpp LibJS: Make more use of Value::is and Value::as_if 2026-02-28 10:24:37 -05:00
PlainDatePrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainDateTime.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
PlainDateTime.h LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
PlainDateTimeConstructor.cpp LibJS: Use consistent wording around NewTarget in Temporal constructors 2025-07-23 22:05:15 +02:00
PlainDateTimeConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainDateTimePrototype.cpp LibJS: Use single-line if/else steps in Temporal operations 2026-02-14 19:47:29 +01:00
PlainDateTimePrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainMonthDay.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
PlainMonthDay.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainMonthDayConstructor.cpp LibJS: Implement the Temporal.PlainMonthDay constructor 2024-11-21 19:24:25 -05:00
PlainMonthDayConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainMonthDayPrototype.cpp LibJS: Use single-line if/else steps in Temporal operations 2026-02-14 19:47:29 +01:00
PlainMonthDayPrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainTime.cpp LibJS: Make more use of Value::is and Value::as_if 2026-02-28 10:24:37 -05:00
PlainTime.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainTimeConstructor.cpp LibJS: Use consistent wording around NewTarget in Temporal constructors 2025-07-23 22:05:15 +02:00
PlainTimeConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainTimePrototype.cpp LibJS: Use single-line if/else steps in Temporal operations 2026-02-14 19:47:29 +01:00
PlainTimePrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainYearMonth.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
PlainYearMonth.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainYearMonthConstructor.cpp LibJS: Use consistent wording around NewTarget in Temporal constructors 2025-07-23 22:05:15 +02:00
PlainYearMonthConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
PlainYearMonthPrototype.cpp LibJS: Use single-line if/else steps in Temporal operations 2026-02-14 19:47:29 +01:00
PlainYearMonthPrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
Temporal.cpp LibJS: Implement the Temporal.ZonedDateTime constructor 2024-11-26 11:00:56 +01:00
Temporal.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
TimeZone.cpp LibJS+LibUnicode: Implement support for handling gaps in time zones 2026-03-09 11:40:59 +01:00
TimeZone.h LibJS: Cache the result of parsing time zone identifiers 2026-02-19 09:20:15 +01:00
ZonedDateTime.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
ZonedDateTime.h LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
ZonedDateTimeConstructor.cpp LibJS: Use the correct error type for invalid time zone names 2026-03-09 11:40:59 +01:00
ZonedDateTimeConstructor.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00
ZonedDateTimePrototype.cpp LibJS: Pass calendar strings around as String more regularly 2026-03-09 11:40:59 +01:00
ZonedDateTimePrototype.h LibJS: Revert Enable EXPLICIT_SYMBOL_EXPORT 2025-07-22 11:51:29 -04:00