Calculating the placeholder from last day of YearMonth
int calculatePlaceholderFromEnd(YearMonth ym) => (this.weekend - ym.lastDay.weekday - 1) % 7;