import { Locale } from "https://deno.land/x/ptera@v1.0.2/locale.ts";
Constructors
new
Locale(locale: string, options?: { dtfOptions?: Intl.DateTimeFormatOptions; nfOptions?: Intl.NumberFormatOptions; rtfOptions?: Intl.RelativeTimeFormatOptions; })Properties
readonly
dtfOptions: Intl.DateTimeFormatOptionsMethods
dtfFormat(date: Date, options?: Intl.DateTimeFormatOptions)
dtfFormatToParts(date: Date, options?: Intl.DateTimeFormatOptions)
eras(format: "long" | "short" | "narrow")
meridiems(format?: "long" | "short" | "narrow")
monthList(format: )
| "numeric"
| "2-digit"
| "long"
| "short"
| "narrow"
nfFormat(n: number, options?: Intl.NumberFormatOptions)
nfFormatToParts(n: number, options?: Intl.NumberFormatOptions)
rtfFormat()
n: number,
unit: Intl.RelativeTimeFormatUnit,
options?: Intl.RelativeTimeFormatOptions,
rtfFormatToParts()
n: number,
unit: Intl.RelativeTimeFormatUnit,
options?: Intl.RelativeTimeFormatOptions,
weekList(format: "long" | "short" | "narrow")