Options
All
  • Public
  • Public/Protected
  • All
Menu

A definition of constants and functions which provide everything that's needed for localization/internationalization support.

Hierarchy

Index

Properties

am

am: string

firstWeekContainsDate

firstWeekContainsDate: 1 | 2 | 3 | 4 | 5 | 6 | 7

The date which determines which day of January decides the first week of the year. If the first week of the year contains this date it will be the 1st week of the year based on ISO standards. If the first week of the year does not contain this date the weekOfYear will be 0.

formatL

formatL: string

formatLL

formatLL: string

formatLLL

formatLLL: string

formatLLLL

formatLLLL: string

formatLT

formatLT: string

formatLTS

formatLTS: string

formatl

formatl: string

formatll

formatll: string

formatlll

formatlll: string

formatllll

formatllll: string

months

months: [[string, string, string, string, string, string, string, string, string, string, string, string], [string, string, string, string, string, string, string, string, string, string, string, string], [string, string, string, string, string, string, string, string, string, string, string, string], [string, string, string, string, string, string, string, string, string, string, string, string]]

pm

pm: string

ruleDay

ruleDay: LocaleRule

ruleDayOfMonth

ruleDayOfMonth: LocaleRule

ruleDayOfWeek

ruleDayOfWeek: LocaleRule

ruleDayOfYear

ruleDayOfYear: LocaleRule

ruleFullWeekOfMonth

ruleFullWeekOfMonth: LocaleRule

ruleFullWeekOfYear

ruleFullWeekOfYear: LocaleRule

ruleLastDayOfMonth

ruleLastDayOfMonth: LocaleRule

ruleLastFullWeekOfMonth

ruleLastFullWeekOfMonth: LocaleRule

ruleLastFullWeekOfYear

ruleLastFullWeekOfYear: LocaleRule

ruleLastWeekspanOfMonth

ruleLastWeekspanOfMonth: LocaleRule

ruleLastWeekspanOfYear

ruleLastWeekspanOfYear: LocaleRule

ruleMonth

ruleMonth: LocaleRule

ruleWeek

ruleWeek: LocaleRule

ruleWeekOfMonth

ruleWeekOfMonth: LocaleRule

ruleWeekOfYear

ruleWeekOfYear: LocaleRule

ruleWeekspanOfMonth

ruleWeekspanOfMonth: LocaleRule

ruleWeekspanOfYear

ruleWeekspanOfYear: LocaleRule

ruleYear

ruleYear: LocaleRule

scheduleAtTimes

scheduleAtTimes: string

scheduleCancels

scheduleCancels: string

scheduleExcludes

scheduleExcludes: string

scheduleIncludes

scheduleIncludes: string

weekStartsOn

weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6

The first day of the week in the locale.

weekdays

weekdays: [[string, string, string, string, string, string, string], [string, string, string, string, string, string, string], [string, string, string, string, string, string, string], [string, string, string, string, string, string, string]]

Methods

identifierDay

  • identifierDay(short: boolean): string
  • Parameters

    • short: boolean

    Returns string

identifierMonth

  • identifierMonth(short: boolean): string
  • Parameters

    • short: boolean

    Returns string

identifierQuarter

  • identifierQuarter(short: boolean): string
  • Parameters

    • short: boolean

    Returns string

identifierTime

  • identifierTime(short: boolean): string
  • Parameters

    • short: boolean

    Returns string

identifierWeek

  • identifierWeek(short: boolean): string
  • Parameters

    • short: boolean

    Returns string

identifierYear

  • identifierYear(short: boolean): string
  • Parameters

    • short: boolean

    Returns string

list

  • list(items: string[]): string
  • Parameters

    • items: string[]

    Returns string

patternAnnually

  • patternAnnually(day: Day): string

patternAnnuallyMonthWeek

  • patternAnnuallyMonthWeek(day: Day): string

patternCustom

  • patternCustom(day: Day): string

patternDaily

  • patternDaily(day: Day): string

patternLastDay

  • patternLastDay(day: Day): string

patternLastDayOfMonth

  • patternLastDayOfMonth(day: Day): string

patternLastWeekday

  • patternLastWeekday(day: Day): string

patternMonthly

  • patternMonthly(day: Day): string

patternMonthlyWeek

  • patternMonthlyWeek(day: Day): string

patternNone

  • patternNone(day: Day): string

patternWeekday

  • patternWeekday(day: Day): string

patternWeekly

  • patternWeekly(day: Day): string

scheduleDuration

  • scheduleDuration(duration: number, unit?: string): string
  • Parameters

    • duration: number
    • Optional unit: string

    Returns string

scheduleEndingOn

  • scheduleEndingOn(end: Day): string

scheduleEndsOn

  • scheduleEndsOn(end: Day): string

scheduleStartingOn

  • scheduleStartingOn(start: Day): string

scheduleThing

  • scheduleThing(thing: string, start: boolean): string
  • Parameters

    • thing: string
    • start: boolean

    Returns string

suffix

  • suffix(value: number): string
  • Parameters

    • value: number

    Returns string

summaryDay

  • summaryDay(short: boolean, dayOfWeek: boolean, year: boolean): string
  • Parameters

    • short: boolean
    • dayOfWeek: boolean
    • year: boolean

    Returns string

summaryMonth

  • summaryMonth(short: boolean, dayOfWeek: boolean, year: boolean): string
  • Parameters

    • short: boolean
    • dayOfWeek: boolean
    • year: boolean

    Returns string

summaryWeek

  • summaryWeek(short: boolean, dayOfWeek: boolean, year: boolean): string
  • Parameters

    • short: boolean
    • dayOfWeek: boolean
    • year: boolean

    Returns string

summaryYear

  • summaryYear(short: boolean, dayOfWeek: boolean, year: boolean): string
  • Parameters

    • short: boolean
    • dayOfWeek: boolean
    • year: boolean

    Returns string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc