(a: DateValue, b: DateValue)
| 51 | |
| 52 | /** Returns whether the given dates occur in the same month, and are of the same calendar system. */ |
| 53 | export function isEqualMonth(a: DateValue, b: DateValue): boolean { |
| 54 | return isEqualCalendar(a.calendar, b.calendar) && isSameMonth(a, b); |
| 55 | } |
| 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 { |
no test coverage detected