(a: DateValue, b: DateValue)
| 56 | |
| 57 | /** Returns whether the given dates occur in the same year, and are of the same calendar system. */ |
| 58 | export function isEqualYear(a: DateValue, b: DateValue): boolean { |
| 59 | return isEqualCalendar(a.calendar, b.calendar) && isSameYear(a, b); |
| 60 | } |
| 61 | |
| 62 | /** Returns whether two calendars are the same. */ |
| 63 | export function isEqualCalendar(a: Calendar, b: Calendar): boolean { |
no test coverage detected