Idan Horowitz
9ed877e8e7
LibJS: Implement Temporal.PlainDateTime.compare()
2021-08-27 16:40:16 +01:00
Linus Groh
6ce05026b4
LibJS: Implement Temporal.ZonedDateTime.prototype.toPlainMonthDay()
2021-08-24 01:53:30 +02:00
Linus Groh
ef581be4ec
LibJS: Implement Temporal.ZonedDateTime.prototype.toPlainYearMonth()
2021-08-24 01:53:30 +02:00
Linus Groh
fc58f93734
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainMonthDay()
2021-08-24 01:53:30 +02:00
Linus Groh
5573efa3bd
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainYearMonth()
2021-08-24 01:53:30 +02:00
Linus Groh
ad427f85ca
LibJS: Implement Temporal.PlainDateTime.from()
2021-08-23 20:54:52 +01:00
Linus Groh
5d116372a8
LibJS: Implement Temporal.PlainMonthDay.prototype.toJSON()
2021-08-20 18:12:15 +01:00
Linus Groh
5904c6bf18
LibJS: Implement Temporal.PlainMonthDay.prototype.toLocaleString()
2021-08-20 18:12:15 +01:00
Linus Groh
ea44f33d5b
LibJS: Implement Temporal.PlainMonthDay.prototype.toString()
2021-08-20 18:12:15 +01:00
Linus Groh
c1c8d7861c
LibJS: Implement Temporal.PlainYearMonth.prototype.toJSON()
2021-08-20 18:12:15 +01:00
Linus Groh
70fb7bf57e
LibJS: Implement Temporal.PlainYearMonth.prototype.toLocaleString()
2021-08-20 18:12:15 +01:00
Linus Groh
421ad73b4f
LibJS: Implement Temporal.PlainYearMonth.prototype.toString()
2021-08-20 18:12:15 +01:00
Linus Groh
0e201fbb42
LibJS: Implement Temporal.PlainDate.prototype.toJSON()
2021-08-19 00:26:09 +01:00
Linus Groh
73d888e9e6
LibJS: Implement Temporal.PlainDate.prototype.toLocaleString()
2021-08-19 00:23:48 +01:00
Linus Groh
402f04c2fc
LibJS: Implement Temporal.PlainDate.prototype.toString()
2021-08-19 00:14:17 +02:00
Linus Groh
90f7e01179
LibJS/Tests: Add Temporal.Calendar.from() tests for more object types
2021-08-17 23:06:05 +01:00
Linus Groh
1292d80b93
LibJS: Implement Temporal.Calendar.prototype.mergeFields()
2021-08-17 00:26:19 +01:00
Linus Groh
795e077eb8
LibJS: Implement Temporal.PlainDate.prototype.toPlainMonthDay()
2021-08-16 20:40:21 +01:00
Linus Groh
31f65b8c50
LibJS: Implement Temporal.Calendar.prototype.monthDayFromFields()
2021-08-16 20:40:21 +01:00
Linus Groh
c1ffc17134
LibJS: Implement Temporal.Calendar.prototype.fields()
2021-08-16 20:02:02 +01:00
Linus Groh
6709c915aa
LibJS: Implement Temporal.PlainDate.prototype.toPlainYearMonth()
2021-08-16 14:10:41 +01:00
Linus Groh
ed9d37bd40
LibJS: Implement Temporal.Calendar.prototype.yearMonthFromFields()
2021-08-16 14:10:41 +01:00
Linus Groh
4520863c0e
LibJS/Tests: Add test for PlainMonthDay default reference year
2021-08-15 10:36:36 +01:00
Linus Groh
8f7a9e1e5c
LibJS/Tests: Add test for PlainYearMonth default reference day
2021-08-15 10:36:36 +01:00
Linus Groh
1549845389
LibJS: Implement Temporal.PlainMonthDay.prototype.getISOFields()
2021-08-15 10:36:36 +01:00
Linus Groh
7fb05eb878
LibJS: Implement Temporal.PlainMonthDay.prototype.valueOf()
2021-08-15 10:36:36 +01:00
Linus Groh
c2ed3ad66b
LibJS: Implement Temporal.PlainMonthDay.prototype.day
2021-08-15 10:36:36 +01:00
Linus Groh
9551aa17d3
LibJS: Implement Temporal.PlainMonthDay.prototype.monthCode
2021-08-15 10:36:36 +01:00
Linus Groh
1382be1707
LibJS: Implement Temporal.PlainMonthDay.prototype.calendar
2021-08-15 10:36:36 +01:00
Linus Groh
37b5a0715e
LibJS: Implement Temporal.PlainMonthDay.prototype[@@toStringTag]
2021-08-15 10:36:36 +01:00
Linus Groh
0cf526d0c4
LibJS: Handle PlainMonthDay in the Calendar.prototype getters
2021-08-15 10:36:36 +01:00
Linus Groh
be07e2e91b
LibJS: Start implementing Temporal.PlainMonthDay
...
This commit adds the PlainMonthDay object itself, its constructor and
prototype (currently empty), and the CreateTemporalMonthDay abstract
operations.
2021-08-15 10:36:36 +01:00
Linus Groh
301d622b46
LibJS/Tests: Tweak PlainYearMonth Infinity test values
...
Since we want to test that +/- Infinity fails as an argument, we should
provide valid arguments for everything else - 0 for month isn't :^)
2021-08-15 10:36:36 +01:00
Linus Groh
7d8c182359
LibJS: Implement Temporal.PlainYearMonth.prototype.getISOFields()
2021-08-08 17:45:06 +01:00
Linus Groh
5a260fcad1
LibJS: Implement Temporal.PlainYearMonth.prototype.valueOf()
2021-08-08 17:45:06 +01:00
Linus Groh
d9ed0f1f47
LibJS: Implement Temporal.PlainYearMonth.prototype.inLeapYear
2021-08-08 17:45:06 +01:00
Linus Groh
3592a748b6
LibJS: Implement Temporal.PlainYearMonth.prototype.monthsInYear
2021-08-08 17:45:06 +01:00
Linus Groh
703eb1f7b4
LibJS: Implement Temporal.PlainYearMonth.prototype.daysInMonth
2021-08-08 17:45:06 +01:00
Linus Groh
1f1d7144bf
LibJS: Implement Temporal.PlainYearMonth.prototype.daysInYear
2021-08-08 17:45:06 +01:00
Linus Groh
5ec70792fd
LibJS: Implement Temporal.PlainYearMonth.prototype.monthCode
2021-08-08 17:45:06 +01:00
Linus Groh
0edec6578b
LibJS: Implement Temporal.PlainYearMonth.prototype.month
2021-08-08 17:45:06 +01:00
Linus Groh
c947ba9ed9
LibJS: Implement Temporal.PlainYearMonth.prototype.year
2021-08-08 17:45:06 +01:00
Linus Groh
71eca69d7c
LibJS: Implement Temporal.PlainYearMonth.prototype.calendar
2021-08-08 17:45:06 +01:00
Linus Groh
d8e835d22f
LibJS: Implement Temporal.PlainYearMonth.prototype[@@toStringTag]
2021-08-08 17:45:06 +01:00
Linus Groh
0a8edd5ce7
LibJS: Start implementing Temporal.PlainYearMonth
...
This commit adds the PlainYearMonth object itself, its constructor and
prototype (currently empty), and the CreateTemporalYearMonth and
ISOYearMonthWithinLimits abstract operations.
2021-08-08 17:45:06 +01:00
Linus Groh
6852ba4d34
LibJS: Implement Temporal.Instant.prototype.subtract()
2021-08-07 13:10:35 +01:00
Linus Groh
b38f1fb071
LibJS: Implement Temporal.Instant.prototype.add()
2021-08-07 13:10:35 +01:00
Linus Groh
6762378f89
LibJS/Tests: Add length test for Temporal.Instant.prototype.round()
2021-08-07 12:10:34 +01:00
Linus Groh
cdb0c879d3
LibJS/Tests: Add length test for Temporal.Instant.prototype.equals()
2021-08-07 12:10:34 +01:00
Linus Groh
a8ba2f4b21
LibJS/Tests: Fix bad copy and paste that crept into a lot of tests
...
The top-level function should have been `describe()``, but instead it's
been nested `test()`s.
2021-08-07 12:10:34 +01:00