SolarYear.fromDate constructor

SolarYear.fromDate(
  1. DateTime date
)

Implementation

SolarYear.fromDate(DateTime date) {
  _year = date.year;
}