1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:28:11 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Temporal
Linus Groh bdb13a74b0 LibJS: Describe various kinds of "Duration Records"
This is an editorial change in the Temporal spec.

See: 983902e

We already had these defined as structs, but now they're properly
defined in the spec (opposed to the previous anonymous records), and we
don't have to make up our own names anymore :^)

Note that while we're usually not including 'record' in the name, in
this case the 'Duration Record' has a name clash with the Duration
object. Additionally, later editorial changes introduce CreateFooRecord
AOs, so let's just go with FooRecord structs here.
2022-03-10 23:20:39 +01:00
..
AbstractOperations.cpp LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
AbstractOperations.h LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
Calendar.cpp LibJS: Replace uses of MarkedValueList with MarkedVector<Value> 2022-02-09 12:25:27 +00:00
Calendar.h LibJS: Implement the required AOs for Temporal.Duration.compare 2021-11-11 21:06:54 +00:00
CalendarConstructor.cpp LibJS: Rename variables to 'calendarLike' in a couple of places 2022-02-04 20:00:34 +00:00
CalendarConstructor.h LibJS: Convert Temporal.Calendar functions to ThrowCompletionOr 2021-10-21 22:31:09 +01:00
CalendarPrototype.cpp LibJS: Replace uses of MarkedValueList with MarkedVector<Value> 2022-02-09 12:25:27 +00:00
CalendarPrototype.h LibJS: Convert Temporal.Calendar functions to ThrowCompletionOr 2021-10-21 22:31:09 +01:00
Duration.cpp LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
Duration.h LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
DurationConstructor.cpp LibJS: Disallow Temporal.Duration input values to be non-integers 2021-11-17 22:20:59 +00:00
DurationConstructor.h LibJS: Implement Temporal.Duration.compare 2021-11-11 21:06:54 +00:00
DurationPrototype.cpp LibJS+LibIMAP: Use the new Optional<U>(Optional<T>) constructor 2022-01-23 18:53:42 +02:00
DurationPrototype.h LibJS: Implement Temporal.Duration.prototype.subtract 2021-11-29 22:56:35 +00:00
Instant.cpp LibJS: Mark CreateTemporalTimeZone("UTC") as infallible 2022-01-13 19:25:56 +01:00
Instant.h LibJS: Convert Instant AOs to ThrowCompletionOr 2021-09-17 08:25:12 +01:00
InstantConstructor.cpp LibJS: Convert the NumberToBigInt AO to ThrowCompletionOr 2021-10-23 18:01:51 +02:00
InstantConstructor.h LibJS: Convert Temporal.Instant functions to ThrowCompletionOr 2021-10-21 22:31:09 +01:00
InstantPrototype.cpp LibJS: Fix "smallestUnit" property name typo in a couple of places 2021-12-18 22:32:39 +00:00
InstantPrototype.h LibJS: Convert Temporal.Instant functions to ThrowCompletionOr 2021-10-21 22:31:09 +01:00
ISO8601.cpp LibJS: Avoid ambiguity in TimeZone production 2022-01-23 00:22:10 +00:00
ISO8601.h LibJS: Don't parse/re-format offset in parse_temporal_time_zone_string() 2022-01-23 00:22:10 +00:00
Now.cpp LibJS: Rename variables to 'calendarLike' in a couple of places 2022-02-04 20:00:34 +00:00
Now.h LibJS: Convert Temporal.Now functions to ThrowCompletionOr 2021-10-21 22:31:09 +01:00
PlainDate.cpp LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
PlainDate.h LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
PlainDateConstructor.cpp LibJS: Convert Temporal.PlainDate functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainDateConstructor.h LibJS: Convert Temporal.PlainDate functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainDatePrototype.cpp LibJS: Rename variables to 'calendarLike' in a couple of places 2022-02-04 20:00:34 +00:00
PlainDatePrototype.h LibJS: Implement Temporal.PlainDate.prototype.since 2021-11-16 01:06:07 +00:00
PlainDateTime.cpp LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
PlainDateTime.h LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
PlainDateTimeConstructor.cpp LibJS: Convert Temporal.PlainDateTime functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainDateTimeConstructor.h LibJS: Convert Temporal.PlainDateTime functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainDateTimePrototype.cpp LibJS: Rename variables to 'calendarLike' in a couple of places 2022-02-04 20:00:34 +00:00
PlainDateTimePrototype.h LibJS: Implement Temporal.PlainDateTime.prototype.since() 2021-11-21 20:04:19 +00:00
PlainMonthDay.cpp LibJS: Rename variables to 'calendarLike' in a couple of places 2022-02-04 20:00:34 +00:00
PlainMonthDay.h LibJS: Convert PlainMonthDay AOs to ThrowCompletionOr 2021-09-16 13:53:37 +01:00
PlainMonthDayConstructor.cpp LibJS: Convert Temporal.PlainMonthDay functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainMonthDayConstructor.h LibJS: Convert Temporal.PlainMonthDay functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainMonthDayPrototype.cpp LibJS: Implement Temporal.PlainMonthDay.prototype.with() 2021-11-08 22:19:45 +00:00
PlainMonthDayPrototype.h LibJS: Implement Temporal.PlainMonthDay.prototype.with() 2021-11-08 22:19:45 +00:00
PlainTime.cpp LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
PlainTime.h LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
PlainTimeConstructor.cpp LibJS: Convert Temporal.PlainTime functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainTimeConstructor.h LibJS: Convert Temporal.PlainTime functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainTimePrototype.cpp LibJS+LibIMAP: Use the new Optional<U>(Optional<T>) constructor 2022-01-23 18:53:42 +02:00
PlainTimePrototype.h LibJS: Implement Temporal.PlainTime.prototype.since() 2021-11-21 20:04:19 +00:00
PlainYearMonth.cpp LibJS: Support modulo(x, y) with different types 2021-12-22 11:27:31 +01:00
PlainYearMonth.h LibJS: Convert PlainYearMonth AOs to ThrowCompletionOr 2021-09-16 13:53:37 +01:00
PlainYearMonthConstructor.cpp LibJS: Convert Temporal.PlainYearMonth functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainYearMonthConstructor.h LibJS: Convert Temporal.PlainYearMonth functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
PlainYearMonthPrototype.cpp LibJS: Make CreateTemporalDuration infallible in PlainYearMonthPrototype 2022-01-23 00:22:10 +00:00
PlainYearMonthPrototype.h LibJS: Implement Temporal.PlainYearMonth.prototype.since() 2021-11-27 19:11:31 +00:00
Temporal.cpp LibJS: Start implementing Temporal.PlainMonthDay 2021-08-15 10:36:36 +01:00
Temporal.h LibJS: Add the Temporal namespace object :^) 2021-07-07 00:42:01 +01:00
TimeZone.cpp LibJS: Convert get_iana_time_zone_epoch_value() to MarkedVector<BigInt*> 2022-02-09 12:25:27 +00:00
TimeZone.h LibJS: Replace uses of MarkedValueList with MarkedVector<Value> 2022-02-09 12:25:27 +00:00
TimeZoneConstructor.cpp LibJS: Pass valid offset string directly to CreateTemporalTimeZone 2022-01-23 00:22:10 +00:00
TimeZoneConstructor.h LibJS: Convert Temporal.TimeZone functions to ThrowCompletionOr 2021-10-21 22:31:31 +01:00
TimeZonePrototype.cpp LibJS: Replace uses of MarkedValueList with MarkedVector<Value> 2022-02-09 12:25:27 +00:00
TimeZonePrototype.h LibJS: Implement Temporal.TimeZone.prototype.getInstantFor() 2021-11-01 21:39:45 +01:00
ZonedDateTime.cpp LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
ZonedDateTime.h LibJS: Describe various kinds of "Duration Records" 2022-03-10 23:20:39 +01:00
ZonedDateTimeConstructor.cpp LibJS: Implement Temporal.ZonedDateTime.compare 2021-11-07 15:35:16 +02:00
ZonedDateTimeConstructor.h LibJS: Implement Temporal.ZonedDateTime.compare 2021-11-07 15:35:16 +02:00
ZonedDateTimePrototype.cpp LibJS+LibIMAP: Use the new Optional<U>(Optional<T>) constructor 2022-01-23 18:53:42 +02:00
ZonedDateTimePrototype.h LibJS: Implement Temporal.ZonedDateTime.prototype.since() 2021-11-24 17:53:00 +00:00