getFirstDay method
Implementation
Solar getFirstDay() {
Solar solar = Solar.fromYmd(_year, _month, _day);
int prev = solar.getWeek() - _start;
if (prev < 0) {
prev += 7;
}
return solar.next(-prev);
}
Solar getFirstDay() {
Solar solar = Solar.fromYmd(_year, _month, _day);
int prev = solar.getWeek() - _start;
if (prev < 0) {
prev += 7;
}
return solar.next(-prev);
}