boa-dev / temporal

A Rust implementation of ECMAScript's Temporal API
Apache License 2.0
26 stars 4 forks source link

Add `with_*` methods to `Date` and `DateTime` #84

Closed nekevss closed 4 months ago

nekevss commented 4 months ago

Per title, this PR adds with_calendar and with_time methods to Date and DateTime. This also adds some From impls for Calendar.