Class SimpleDate

Index

Methods

Methods

public construction(year: number, month: number, day: number, era: number): any

Parameters

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

Returns

any

public static dateEquals(date1: SimpleDate, date2: SimpleDate): boolean

Parameters

Returns

boolean

public static dateGreater(date1: SimpleDate, date2: SimpleDate): boolean

Parameters

Returns

boolean

public static dateGreaterEqual(date1: SimpleDate, date2: SimpleDate): boolean

Parameters

Returns

boolean

public static dateLess(date1: SimpleDate, date2: SimpleDate): boolean

Parameters

Returns

boolean

public static dateLessEqual(date1: SimpleDate, date2: SimpleDate): boolean

Parameters

Returns

boolean

public get_day(): number

Returns

number

public get_era(): number

Returns

number

public get_month(): number

Returns

number

public get_year(): number

Returns

number

public set_day(value: number)

Parameters

  • value: number

public set_era(value: number)

Parameters

  • value: number

public set_month(value: number)

Parameters

  • value: number

public set_year(value: number)

Parameters

  • value: number