CalendarYear constructor

CalendarYear(
  1. int year
)

Constructs a instance for year.

Implementation

CalendarYear(int year)
    : _year = year,
      super(TimeInstant.dateTime(DateTime(year, 1)), TimeInstant.dateTime(DateTime(year + 1)));