(date: DateValue)
| 187 | export function startOfYear(date: CalendarDate): CalendarDate; |
| 188 | export function startOfYear(date: DateValue): DateValue; |
| 189 | export function startOfYear(date: DateValue): DateValue { |
| 190 | return startOfMonth(date.subtract({months: date.month - 1})); |
| 191 | } |
| 192 | |
| 193 | /** Returns the last day of the year for the given date. */ |
| 194 | export function endOfYear(date: ZonedDateTime): ZonedDateTime; |
no test coverage detected