weekday property
The day of the week.
A week starts on Monday (1) and ends on Sunday (7).
ZonedDateTime('Asia/Singapore', 1969, 7, 20).weekday; // Sunday, 7
Implementation
@useResult int get weekday => _native.weekday;
The day of the week.
A week starts on Monday (1) and ends on Sunday (7).
ZonedDateTime('Asia/Singapore', 1969, 7, 20).weekday; // Sunday, 7
@useResult int get weekday => _native.weekday;