weekdayForDay method

int? weekdayForDay(
  1. int dayOffset
)

Weekday index (1=Mon..7=Sun) for dayOffset, or null if not activated.

Implementation

int? weekdayForDay(int dayOffset) => dateForDay(dayOffset)?.weekday;