Module

Temporal.Instant.Extra

Package
purescript-temporal
Repository
philippedev101/purescript-temporal

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

#since' Source

since' :: Instant -> Instant -> Duration

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

#until' Source

until' :: Instant -> Instant -> Duration

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