extraDaysStart property
int
get
extraDaysStart
Returns the number of extra days at the beginning of a calendar table when the start of this month is something other than Monday.
Implementation
int get extraDaysStart {
// date.weekday returns an int in the range of 1..7, Monday to Sunday,
// respectively. Subtract 1 for this day itself and you know the number
// of extras.
return firstDateInThisMonth.weekday - 1;
}