isThursday static method

bool isThursday(
  1. DateTime date
)

Check if a date is on Thursday

Implementation

static bool isThursday(DateTime date) {
  return date.weekday == DateTime.thursday;
}