Module

Web.Intl.DateTimeFormat

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

#DateTimeFormat Source

#DateTimeFormatOptions Source

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

#new Source

new :: forall options options'. Union options options' DateTimeFormatOptions => Array String -> Record options -> Effect DateTimeFormat

#supportedLocalesOf Source

supportedLocalesOf :: forall options options'. Union options options' LocaleOptions => Array String -> Record options -> Array String

#formatRangeToParts Source

#formatToParts Source

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