Class DateUtility

Index

Methods

Methods

public static dateToJulianDay(year: number, month: number, day: number): number

Parameters

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

Returns

number

public static daysInMonth(year: number, month: number): number

Parameters

  • year: number
  • month: number

Returns

number

public static isLeapYear(year: number): boolean

Parameters

  • year: number

Returns

boolean

public static julianDayToDate(julianDay: number): SimpleDate

Parameters

  • julianDay: number

Returns

SimpleDate