fromInt static method

DayOfWeek fromInt(
  1. int weekDay
)

The day of the week from the int.

intから曜日を取得します。

Implementation

static DayOfWeek fromInt(int weekDay) {
  return DayOfWeek.values[weekDay - 1];
}