Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 20ca333f3a4ded5c4a2b4ff2b520e941906bff28
      
https://github.com/WebKit/WebKit/commit/20ca333f3a4ded5c4a2b4ff2b520e941906bff28
  Author: Yijia Huang <[email protected]>
  Date:   2026-05-14 (Thu, 14 May 2026)

  Changed paths:
    M Source/JavaScriptCore/API/tests/TemporalCoreTest.cpp
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/JavaScriptCore/Scripts/generate-unified-sources.sh
    M Source/JavaScriptCore/Sources.txt
    M Source/JavaScriptCore/UnifiedSources-output.xcfilelist
    M Source/JavaScriptCore/runtime/ISO8601.h
    M Source/JavaScriptCore/runtime/IntlObject.h
    M Source/JavaScriptCore/runtime/TemporalDuration.cpp
    M Source/JavaScriptCore/runtime/TemporalDuration.h
    M Source/JavaScriptCore/runtime/TemporalPlainDateTime.cpp
    A Source/JavaScriptCore/runtime/temporal/core/CalendarFields.cpp
    A Source/JavaScriptCore/runtime/temporal/core/CalendarFields.h
    M Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.cpp
    M Source/JavaScriptCore/runtime/temporal/core/CalendarICUBridge.h
    A Source/JavaScriptCore/runtime/temporal/core/DurationArithmetic.cpp
    A Source/JavaScriptCore/runtime/temporal/core/DurationArithmetic.h
    M Source/JavaScriptCore/runtime/temporal/core/ISOArithmetic.cpp
    M Source/JavaScriptCore/runtime/temporal/core/ISOArithmetic.h
    A Source/JavaScriptCore/runtime/temporal/core/PlainDateTimeCore.cpp
    A Source/JavaScriptCore/runtime/temporal/core/PlainDateTimeCore.h
    M Source/JavaScriptCore/runtime/temporal/core/TemporalEnums.h
    M Source/JavaScriptCore/runtime/temporal/core/TimeZoneICUBridge.cpp
    M Source/JavaScriptCore/runtime/temporal/core/TimeZoneICUBridge.h
    A Source/JavaScriptCore/runtime/temporal/core/ZonedDateTimeCore.cpp
    A Source/JavaScriptCore/runtime/temporal/core/ZonedDateTimeCore.h

  Log Message:
  -----------
  [JSC][Temporal] Add duration rounding, calendar field resolution, and 
date-time difference algorithms
https://bugs.webkit.org/show_bug.cgi?id=314765
rdar://177014604

Reviewed by Yusuke Suzuki.

Adds the algorithm core layer for Temporal. DurationArithmetic
implements duration rounding and differencing (nudge, bubble,
roundRelativeDuration, differenceZonedDateTime). CalendarFields
implements CalendarDateFromFields, CalendarYearMonthFromFields, and
CalendarMonthDayFromFields for ISO and non-ISO calendars via ICU.
PlainDateTimeCore and ZonedDateTimeCore implement 
DifferenceTemporalPlainDateTime
and DifferenceZonedDateTimeWithRounding.

Tests: Source/JavaScriptCore/API/tests/TemporalCoreTest.cpp
Canonical link: https://commits.webkit.org/313252@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to