Module
JS.Temporal.Disambiguation
- Package
- purescript-js-temporal
- Repository
- pete-murphy/purescript-js-temporal
How to disambiguate when a local date/time occurs twice or not at all (e.g. during daylight saving transitions). Used when converting between PlainDateTime and ZonedDateTime. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/ZonedDateTime/from
#Disambiguation Source
#toString Source
toString :: Disambiguation -> StringConverts a Disambiguation to its JavaScript string value.
#fromString Source
fromString :: String -> Maybe DisambiguationParses a JavaScript disambiguation string. Returns Nothing for unknown values.
- Modules
- JS.
Temporal. CalendarName - JS.
Temporal. Disambiguation - JS.
Temporal. Duration - JS.
Temporal. Duration. Internal - JS.
Temporal. Instant - JS.
Temporal. Instant. Internal - JS.
Temporal. Internal - JS.
Temporal. Now - JS.
Temporal. OffsetDisambiguation - JS.
Temporal. Overflow - JS.
Temporal. PlainDate - JS.
Temporal. PlainDate. Internal - JS.
Temporal. PlainDateTime - JS.
Temporal. PlainDateTime. Internal - JS.
Temporal. PlainMonthDay - JS.
Temporal. PlainMonthDay. Internal - JS.
Temporal. PlainTime - JS.
Temporal. PlainTime. Internal - JS.
Temporal. PlainYearMonth - JS.
Temporal. PlainYearMonth. Internal - JS.
Temporal. RoundingMode - JS.
Temporal. TemporalUnit - JS.
Temporal. ZonedDateTime - JS.
Temporal. ZonedDateTime. Internal