Timothy Flynn
76589d6728
LibJS: Change wording of ErrorType::NotA to be independent of context
...
Currently, we have NotA and NotAn, to be used dependent on whether the
following word begins with a vowel or not. To avoid this, change the
wording on NotA to be independent of this context.
2021-09-12 00:16:39 +02:00
Linus Groh
f2f671f340
LibJS: Implement Temporal.PlainDateTime.prototype.eraYear
2021-08-27 23:36:52 +01:00
Linus Groh
276d3f5089
LibJS: Implement Temporal.PlainDateTime.prototype.era
2021-08-27 23:36:52 +01:00
Idan Horowitz
24dbf18936
LibJS: Implement Temporal.PlainDateTime.prototype.withPlainTime()
2021-08-27 19:01:30 +01:00
Idan Horowitz
32fc81c186
LibJS: Implement Temporal.PlainDateTime.prototype.equals()
2021-08-27 16:40:16 +01:00
Idan Horowitz
9ed877e8e7
LibJS: Implement Temporal.PlainDateTime.compare()
2021-08-27 16:40:16 +01: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
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
Idan Horowitz
64a98d0f90
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainTime
2021-07-31 00:16:41 +01:00
Idan Horowitz
010761aff4
LibJS: Implement Temporal.PlainDateTime.prototype.withPlainDate
2021-07-31 00:16:41 +01:00
Idan Horowitz
f657c86d58
LibJS: Implement Temporal.PlainDateTime.prototype.withCalendar
2021-07-31 00:16:41 +01:00
Idan Horowitz
8f9b4a5ea6
LibJS: Implement Temporal.PlainDateTime.prototype.inLeapYear
2021-07-29 22:47:56 +01:00
Idan Horowitz
b9ed19c850
LibJS: Implement Temporal.PlainDateTime.prototype.monthsInYear
2021-07-29 22:47:56 +01:00
Idan Horowitz
fb5c0ed0d0
LibJS: Implement Temporal.PlainDateTime.prototype.daysInYear
2021-07-29 22:47:56 +01:00
Idan Horowitz
2d86cbae45
LibJS: Implement Temporal.PlainDateTime.prototype.daysInMonth
2021-07-29 22:47:56 +01:00
Idan Horowitz
01d33174c8
LibJS: Implement Temporal.PlainDateTime.prototype.daysInWeek
2021-07-29 22:47:56 +01:00
Idan Horowitz
d4e9d572f5
LibJS: Implement Temporal.PlainDateTime.prototype.weekOfYear
2021-07-29 22:47:56 +01:00
Idan Horowitz
0800c2a958
LibJS: Implement Temporal.PlainDateTime.prototype.dayOfYear
2021-07-29 22:47:56 +01:00
Idan Horowitz
c41b7b27c9
LibJS: Implement Temporal.PlainDateTime.prototype.dayOfWeek
2021-07-29 22:47:56 +01:00
Idan Horowitz
518a9f3eab
LibJS: Implement Temporal.PlainDateTime.prototype.nanosecond
2021-07-29 22:47:56 +01:00
Idan Horowitz
23bf840326
LibJS: Implement Temporal.PlainDateTime.prototype.microsecond
2021-07-29 22:47:56 +01:00
Idan Horowitz
b2f66a06ac
LibJS: Implement Temporal.PlainDateTime.prototype.millisecond
2021-07-29 22:47:56 +01:00
Idan Horowitz
3fdb314a39
LibJS: Implement Temporal.PlainDateTime.prototype.second
2021-07-29 22:47:56 +01:00
Idan Horowitz
6dd0815fad
LibJS: Implement Temporal.PlainDateTime.prototype.minute
2021-07-29 22:47:56 +01:00
Idan Horowitz
f553ab3104
LibJS: Implement Temporal.PlainDateTime.prototype.hour
2021-07-29 22:47:56 +01:00
Idan Horowitz
f93b6ea58c
LibJS: Implement Temporal.PlainDateTime.prototype.day
2021-07-29 22:47:56 +01:00
Idan Horowitz
677a631e87
LibJS: Implement Temporal.PlainDateTime.prototype.monthCode
2021-07-29 22:47:56 +01:00
Idan Horowitz
78e63b34fa
LibJS: Implement Temporal.PlainDateTime.prototype.month
2021-07-29 22:47:56 +01:00
Idan Horowitz
23d0fd2659
LibJS: Implement Temporal.PlainDateTime.prototype.year
2021-07-29 22:47:56 +01:00
Linus Groh
321f2c0927
LibJS: Fix types of PlainDateTime iso_{milli,micro,nano}second params
...
999 does not fit into an u8. :^)
2021-07-28 21:57:30 +01:00
Linus Groh
2ba338869b
LibJS/Tests: Remove two leftover console.log() calls
2021-07-28 21:57:30 +01:00
Linus Groh
080112eb82
LibJS: Implement Temporal.PlainDateTime.prototype.getISOFields()
2021-07-23 08:18:11 +01:00
Linus Groh
18fd0d4011
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainDate()
2021-07-23 08:18:11 +01:00
Linus Groh
aa2c8b6b91
LibJS: Implement Temporal.PlainDateTime.prototype.calendar
2021-07-22 21:19:40 +01:00
Linus Groh
78acc976a6
LibJS: Implement Temporal.PlainDateTime.prototype.valueOf()
2021-07-22 21:19:40 +01:00
Linus Groh
591ee813fb
LibJS: Implement Temporal.PlainDateTime.prototype[@@toStringTag]
2021-07-22 21:19:40 +01:00
Linus Groh
4be3196882
LibJS: Start implementing Temporal.PlainDateTime
...
This commit adds the PlainDateTime object itself, its constructor and
prototype (currently empty), and the CreateTemporalDateTime abstract
operation.
2021-07-22 21:19:40 +01:00