menu
lunar package
documentation
calendar/Solar.dart
Solar
getWeek method
getWeek method
dark_mode
light_mode
getWeek
method
int
getWeek
(
)
获取星期,0代表周日,1代表周一 @return 0123456
Implementation
int getWeek() => ((getJulianDay() + 0.5).floor() + 7000001) % 7;
lunar package
documentation
calendar/Solar
Solar
getWeek method
Solar class