Module

Temporal.PlainTime.Extra

Package
purescript-temporal
Repository
philippedev101/purescript-temporal

Convenience helpers for Temporal.PlainTime that are not part of the TC39 Temporal spec: the no-options variants of since/until, and the midnight / noon constants. (The spec methods live in Temporal.PlainTime.)

#since' Source

since' :: PlainTime -> PlainTime -> Duration

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

#until' Source

until' :: PlainTime -> PlainTime -> Duration

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

#midnight Source

midnight :: PlainTime

Midnight, 00:00:00 - the minimum PlainTime (bottom).

#noon Source

noon :: PlainTime

Noon, 12:00:00.