temporal
temporal copied to clipboard
A Rust implementation of ECMAScript's Temporal API
Below is the functionality needed for the `YearMonth` component. - [x] 9.3.3 get `Temporal.PlainYearMonth.prototype.calendarId` - [x] 9.3.4 get `Temporal.PlainYearMonth.prototype.era` - [x] 9.3.5 get `Temporal.PlainYearMonth.prototype.eraYear` - [x] 9.3.6 get `Temporal.PlainYearMonth.prototype.year` -...
Below is the functionality needed for the `MonthDay` component. - [x] 10.3.3 get `Temporal.PlainMonthDay.prototype.calendarId` - [x] 10.3.4 get `Temporal.PlainMonthDay.prototype.monthCode` - [ ] 10.3.5 get `Temporal.PlainMonthDay.prototype.day` - [ ] 10.3.6 `Temporal.PlainMonthDay.prototype.with...
Would be good to see if we can somehow use Boa to test this, but the cyclic dependency worries me.
Currently, to create one of the structs, our general API is `new` with an overflow option. It may be better to have a more "rusty" API; i.e., we lack a...
Currently, parameters on some calls differ a tad from specification. Instead of supporting a "Like" item, we take specific values. Ideally, these should be updated to the below. - `temporalDateLike`...
This is currently blocked on time zone handling and `ZonedDateTime`. Once those are handled, the duration rounding relative to a `ZonedDateTime` (i.e. `nudge_to_zoned_time`) should be implemented.
PR: https://github.com/boa-dev/temporal/pull/70 Upstream issue: https://github.com/unicode-org/icu4x/pull/5081 System info functionality needed: - [x] `SystemTimeZoneIdentifier` - [x] `SystemUTCEpochNanoseconds`
Building out the `Now` component. This is going to be minimal support for the component. There's also a question around how we should handle fetching system calls in `temporal_rs` (although...
This PR refactors `TemporalFields` into `CalendarFields`. I'm leaving it as a draft for now as I want to run plug this into Boa and run some tests beforehand. General Context:...