1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 18:15:07 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration
Shannon Booth c063bf39a9 LibJS: Make ToRelativeTemporalObject return a RelativeTo struct
This follows a change in the spec which refactored this function and its
callers to make use of a record instead of stuffing all of the possible
return values into a single Value.

As always in temporal land, this AO remains out of date, as well of all
its callers. Update all of these callers to the new API where possible,
and use an ad-hoc function to convert this struct back to a JS::Value
for APIs that have not been updated yet.
2024-02-25 07:51:28 -05:00
..
Duration.compare.js LibJS: Make ToRelativeTemporalObject return a RelativeTo struct 2024-02-25 07:51:28 -05:00
Duration.from.js LibJS: Implement parsing of TemporalDurationString 2021-11-28 10:32:28 +00:00
Duration.js
Duration.prototype.@@toStringTag.js
Duration.prototype.abs.js
Duration.prototype.add.js LibJS: Implement Temporal.Duration.prototype.add 2021-11-29 22:56:35 +00:00
Duration.prototype.blank.js
Duration.prototype.days.js
Duration.prototype.hours.js
Duration.prototype.microseconds.js
Duration.prototype.milliseconds.js
Duration.prototype.minutes.js
Duration.prototype.months.js
Duration.prototype.nanoseconds.js
Duration.prototype.negated.js
Duration.prototype.round.js LibJS: Update Temporal RoundDuration AO to some spec changes 2024-01-14 16:08:52 -07:00
Duration.prototype.seconds.js
Duration.prototype.sign.js
Duration.prototype.subtract.js LibJS: Implement Temporal.Duration.prototype.subtract 2021-11-29 22:56:35 +00:00
Duration.prototype.toJSON.js
Duration.prototype.toLocaleString.js
Duration.prototype.toString.js
Duration.prototype.total.js
Duration.prototype.valueOf.js
Duration.prototype.weeks.js
Duration.prototype.with.js LibJS: Disallow Temporal.Duration input values to be non-integers 2021-11-17 22:20:59 +00:00
Duration.prototype.years.js