Linus Groh
8f7a9e1e5c
LibJS/Tests: Add test for PlainYearMonth default reference day
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