1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 06:25:08 +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
Duration.js
Duration.prototype.@@toStringTag.js
Duration.prototype.abs.js
Duration.prototype.add.js
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
Duration.prototype.seconds.js
Duration.prototype.sign.js
Duration.prototype.subtract.js
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
Duration.prototype.years.js