Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DateTimeFormatOptions

Hierarchy

  • DateTimeFormatOptions

Index

Properties

Optional calendar

calendar?: string

Optional dateStyle

dateStyle?: "long" | "short" | "full" | "medium"

Optional day

day?: "numeric" | "2-digit"

Optional dayPeriod

dayPeriod?: "long" | "short" | "narrow"

Optional era

era?: "long" | "short" | "narrow"

Optional formatMatcher

formatMatcher?: "best fit" | "basic"

Optional fractionalSecondDigits

fractionalSecondDigits?: 0 | 1 | 3 | 2

Optional hour

hour?: "numeric" | "2-digit"

Optional hour12

hour12?: boolean

Optional hourCycle

hourCycle?: "h11" | "h12" | "h23" | "h24"

Optional localeMatcher

localeMatcher?: "lookup" | "best fit"

Optional minute

minute?: "numeric" | "2-digit"

Optional month

month?: "long" | "short" | "narrow" | "numeric" | "2-digit"

Optional numberingSystem

numberingSystem?: string

Optional second

second?: "numeric" | "2-digit"

Optional timeStyle

timeStyle?: "long" | "short" | "full" | "medium"

Optional timeZone

timeZone?: string

Optional timeZoneName

timeZoneName?: "long" | "short"

Optional weekday

weekday?: "long" | "short" | "narrow"

Optional year

year?: "numeric" | "2-digit"

Generated using TypeDoc