Calculating the placeholder from first day of YearMonth
int calculatePlaceholderFromStart(YearMonth ym) => ((7 - this.weekend) + (ym.firstDay.weekday % 7)) % 7;