Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Locale

Index

Methods

  • firstDayOfWeek(): number
  • Returns number

  • firstDayOfYear(): number
  • Returns number

  • invalidDate(): string
  • Returns string

  • isPM(input: string): boolean
  • Parameters

    • input: string

    Returns boolean

  • meridiem(hour: number, minute: number, isLower: boolean): string
  • Parameters

    • hour: number
    • minute: number
    • isLower: boolean

    Returns string

  • months(): string[]
  • months(m: export=.Moment, format?: string): string
  • Returns string[]

  • Parameters

    Returns string

  • monthsParse(monthName: string, format: string, strict: boolean): number
  • Parameters

    • monthName: string
    • format: string
    • strict: boolean

    Returns number

  • monthsRegex(strict: boolean): RegExp
  • Parameters

    • strict: boolean

    Returns RegExp

  • monthsShort(): string[]
  • monthsShort(m: export=.Moment, format?: string): string
  • Returns string[]

  • Parameters

    Returns string

  • monthsShortRegex(strict: boolean): RegExp
  • Parameters

    • strict: boolean

    Returns RegExp

  • ordinal(n: number): string
  • Parameters

    • n: number

    Returns string

  • pastFuture(diff: number, absRelTime: string): string
  • Parameters

    • diff: number
    • absRelTime: string

    Returns string

  • postformat(inp: string): string
  • Parameters

    • inp: string

    Returns string

  • preparse(inp: string): string
  • Parameters

    • inp: string

    Returns string

  • set(config: Object): void
  • Parameters

    • config: Object

    Returns void

  • weekdays(): string[]
  • weekdays(m: export=.Moment, format?: string): string
  • Returns string[]

  • Parameters

    Returns string

  • weekdaysMinRegex(strict: boolean): RegExp
  • Parameters

    • strict: boolean

    Returns RegExp

  • weekdaysParse(weekdayName: string, format: string, strict: boolean): number
  • Parameters

    • weekdayName: string
    • format: string
    • strict: boolean

    Returns number

  • weekdaysRegex(strict: boolean): RegExp
  • Parameters

    • strict: boolean

    Returns RegExp

  • weekdaysShort(): string[]
  • weekdaysShort(m: export=.Moment): string
  • weekdaysShortRegex(strict: boolean): RegExp
  • Parameters

    • strict: boolean

    Returns RegExp

Generated using TypeDoc