ofYear

fun ofYear(year: Int): DateRange

The whole of year in UTC — 1 January 00:00:00.000 through 31 December 23:59:59.999.

This is what Publication.availableYears is meant to be turned into: take one entry of that list and you have the window that returns the issues released in it.

Return

the window spanning that whole year.

Parameters

year

the calendar year to cover.