Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ec92d4328cf1728080b3c8fcea474f1211aaa913
      
https://github.com/WebKit/WebKit/commit/ec92d4328cf1728080b3c8fcea474f1211aaa913
  Author: Tim Chevalier <t...@igalia.com>
  Date:   2025-05-17 (Sat, 17 May 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/ISO8601.cpp
    M Source/JavaScriptCore/runtime/ISO8601.h

  Log Message:
  -----------
  Add InternalDuration class for Temporal support
https://bugs.webkit.org/show_bug.cgi?id=223166

Reviewed by Sosuke Suzuki.

Add a new InternalDuration class for use by Temporal, following
the Temporal spec that uses a separate Duration and InternalDuration
type. In a future PR, code will be modified to convert Durations to
InternalDurations for internal computation, then convert back when
necessary. This is necessary to maintain precision.

* Source/JavaScriptCore/runtime/ISO8601.cpp:
(JSC::ISO8601::dateDurationSign):
(JSC::ISO8601::ISO8601::InternalDuration::sign const):
(JSC::ISO8601::InternalDuration::combineDateAndTimeDuration):
* Source/JavaScriptCore/runtime/ISO8601.h:

Canonical link: https://commits.webkit.org/295056@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to