Hierarchy

  • StiFunctionsDateTime

Index

Methods

Static create

  • create(): void
  • Returns void

Static dateDiff

Static dateSerial

  • dateSerial(year: number, month: number, day: number): DateTime
  • Parameters

    • year: number
    • month: number
    • day: number

    Returns DateTime

Static day

  • Parameters

    Returns number

Static dayOfWeek

  • dayOfWeek(date: DateTime, loc?: boolean | string, upperCase?: boolean): string
  • Parameters

    • date: DateTime
    • Default value loc: boolean | string = null
    • Default value upperCase: boolean = null

    Returns string

Static dayOfYear

  • Parameters

    Returns number

Static daysInMonth

  • daysInMonth(yearOrDate: number | DateTime, month: number): number
  • Parameters

    • yearOrDate: number | DateTime
    • month: number

    Returns number

Static daysInYear

  • daysInYear(yearOrDate: number | DateTime): number
  • Parameters

    Returns number

Static hour

  • Parameters

    Returns number

Static minute

  • Parameters

    Returns number

Static month

  • Parameters

    Returns number

Static monthIdent

  • Parameters

    Returns any

Static monthName

  • monthName(date: DateTime, loc?: boolean | string, upperCase?: boolean): string
  • Parameters

    • date: DateTime
    • Default value loc: boolean | string = null
    • Default value upperCase: boolean = null

    Returns string

Static second

  • Parameters

    Returns number

Static timeSerial

  • timeSerial(hours: number, minutes: number, seconds: number): TimeSpan
  • Parameters

    • hours: number
    • minutes: number
    • seconds: number

    Returns TimeSpan

Static toJapaneseDateString

  • toJapaneseDateString(date: DateTime, format?: string): string
  • Parameters

    • date: DateTime
    • Default value format: string = null

    Returns string

Static weekOfMonth

Static weekOfYear

Static year

  • Parameters

    Returns number

Generated using TypeDoc