boa-dev / temporal

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

Add `from_partial` methods to `PlainTime`, `PlainDate`, and `PlainDateTime` #106

Closed nekevss closed 3 weeks ago

nekevss commented 3 weeks ago

This PR primarily adds from_partial methods to PlainTime, PlainDate, and PlainDateTime.

This also begins to add doc tests to some high visibility methods and also sets the Constrain option of ArithmeticOverflow as the default.