Module

Web.Intl.DateTimeFormat

Package
purescript-web-intl
Repository
ptrfrncsmrph/purescript-web-intl

#DateTimeFormat Source

#DateTimeFormatOptions Source

type DateTimeFormatOptions :: Row Typetype DateTimeFormatOptions = (dateStyle :: String, day :: String, era :: String, formatMatcher :: String, hour :: String, hour12 :: Boolean, hourCycle :: String, localeMatcher :: String, minute :: String, month :: String, second :: String, timeStyle :: String, timeZone :: String, timeZoneName :: String, weekday :: String, year :: String)

#new Source

new :: forall options options'. Union options options' DateTimeFormatOptions => NonEmptyArray Locale -> Record options -> Effect DateTimeFormat

#supportedLocalesOf Source

supportedLocalesOf :: forall options options'. Union options options' DateTimeFormatOptions => NonEmptyArray Locale -> Record options -> Array String

#formatRangeToParts Source

#formatToParts Source

formatToParts :: DateTimeFormat -> DateTime -> Array { type :: String, value :: String }