Module

Temporal.PlainDate.Extra

Package
purescript-temporal
Repository
philippedev101/purescript-temporal

Convenience helpers for Temporal.PlainDate that are not part of the TC39 Temporal spec. Currently the no-options variants of since/until (the spec methods themselves live in Temporal.PlainDate).

#since' Source

since' :: PlainDate -> PlainDate -> Duration

since' a b - duration from b to a with default options.

#until' Source

until' :: PlainDate -> PlainDate -> Duration

until' a b - duration from a to b with default options.