Module

Temporal.ZonedDateTime.Extra

Package
purescript-temporal
Repository
philippedev101/purescript-temporal

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

#since' Source

since' :: ZonedDateTime -> ZonedDateTime -> Duration

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

#until' Source

until' :: ZonedDateTime -> ZonedDateTime -> Duration

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