API / Core / Intl / Datetimeformat

DateTimeFormat

t

RESCRIPT
type t

make

RESCRIPT
let make: unit => t

makeWithLocale

RESCRIPT
let makeWithLocale: string => t

makeWithLocales

RESCRIPT
let makeWithLocales: array<string> => t

makeWithLocaleAndOptions

RESCRIPT
let makeWithLocaleAndOptions: (string, {..}) => t

makeWithLocalesAndOptions

RESCRIPT
let makeWithLocalesAndOptions: (array<string>, {..}) => t

makeWithOptions

RESCRIPT
let makeWithOptions: {..} => t

supportedLocalesOf

RESCRIPT
let supportedLocalesOf: array<string> => t

supportedLocalesOfWithOptions

RESCRIPT
let supportedLocalesOfWithOptions: (array<string>, {..}) => t

resolvedOptions

RESCRIPT
let resolvedOptions: t => {..}

format

RESCRIPT
let format: (t, Core__Date.t) => string

formatToParts

RESCRIPT
let formatToParts: ( t, Core__Date.t, ) => array<{\"type\": string, \"value\": string}>

formatRange

RESCRIPT
let formatRange: ( t, ~startDate: Core__Date.t, ~endDate: Core__Date.t, ) => string

formatRangeToParts

RESCRIPT
let formatRangeToParts: ( t, ~startDate: Core__Date.t, ~endDate: Core__Date.t, ) => array< {\"source\": string, \"type\": string, \"value\": string}, >