getWeek method

int getWeek()

获取星期,0代表周日,1代表周一 @return 0123456

Implementation

int getWeek() => ((getJulianDay() + 0.5).floor() + 7000001) % 7;