Hierarchy

Index

Constructors

constructor

  • new StiDayOfWeek(name: string, value?: number): StiDayOfWeek

Properties

name

name: string

value

value: number

Static 0

0: StiDayOfWeek = StiDayOfWeek.Sunday

Static 1

1: StiDayOfWeek = StiDayOfWeek.Monday

Static 2

2: StiDayOfWeek = StiDayOfWeek.Tuesday

Static 3

3: StiDayOfWeek = StiDayOfWeek.Wednesday

Static 4

4: StiDayOfWeek = StiDayOfWeek.Thursday

Static 5

5: StiDayOfWeek = StiDayOfWeek.Friday

Static 6

6: StiDayOfWeek = StiDayOfWeek.Saturday

Static Friday

Friday: StiDayOfWeek = new StiDayOfWeek("Friday", 5)

Static Monday

Monday: StiDayOfWeek = new StiDayOfWeek("Monday", 1)

Static Saturday

Saturday: StiDayOfWeek = new StiDayOfWeek("Saturday", 6)

Static Sunday

Sunday: StiDayOfWeek = new StiDayOfWeek("Sunday", 0)

Static Thursday

Thursday: StiDayOfWeek = new StiDayOfWeek("Thursday", 4)

Static Tuesday

Tuesday: StiDayOfWeek = new StiDayOfWeek("Tuesday", 2)

Static Wednesday

Wednesday: StiDayOfWeek = new StiDayOfWeek("Wednesday", 3)

Methods

compareTo

  • compareTo(value: Enum): number

toString

  • toString(): string

Static getName

  • getName(enumType: any, value: number): string
  • Parameters

    • enumType: any
    • value: number

    Returns string

Static getNames

  • getNames(enumType: any): string[]
  • Parameters

    • enumType: any

    Returns string[]

Static getValues

  • getValues(enumType: any): number[]
  • Parameters

    • enumType: any

    Returns number[]

Static parse

  • parse(enumType: any, value: string | number, upperFirstChar?: boolean): number
  • Parameters

    • enumType: any
    • value: string | number
    • Default value upperFirstChar: boolean = true

    Returns number

Generated using TypeDoc