assemblyscript-temporal
assemblyscript-temporal copied to clipboard
[Feature] Implement PlainDateTime family of classes
This is a tracking issue for implementing the following classes:
- [ ]
PlainDateTime- [ ]
PlainDate- [ ]
PlainMmothDay - [ ]
PlainYearMonth
- [ ]
- [ ]
PlainTime
- [ ]
I'd also suggest that both Instant and the complete Duration API are relatively easy starting points for a new contributor
@ashutoshvarma ^
Yeah, Duration and Instant seems relatively easy, do we need to support Instant.toZonedDateTime also?
Also, I have started on PlainTime and so far add and subtract are done.
@ColinEberhardt For tests, do we just port them from https://github.com/tc39/proposal-temporal/tree/main/polyfill/test/PlainTime?
None of the ‘zoned’ types are implemented yet as they require the tricky logic which applies time zone specific offsets based on the IANA time zone database. I’m working on that at the moment!