SolarHalfYear.fromDate constructor

SolarHalfYear.fromDate(
  1. DateTime date
)

Implementation

SolarHalfYear.fromDate(DateTime date) {
  _year = date.year;
  _month = date.month;
}