weekOfMonth property
int
get
weekOfMonth
Gets the ordinal week of the month (1-5).
Implementation
int get weekOfMonth => ((day - 1) ~/ 7) + 1;
Gets the ordinal week of the month (1-5).
int get weekOfMonth => ((day - 1) ~/ 7) + 1;