Trying to get date of Monday in current week

前端 未结 4 1601
感动是毒
感动是毒 2021-01-19 05:55

I have implemented a method to get the date of the Monday in the current week, and I have assigned Monday to be the first day of the week.

But, no matter what I do,

4条回答
  •  猫巷女王i
    2021-01-19 06:35

    Or with JodaTime

    LocalDate.now().withDayOfWeek(DateTimeConstants.MONDAY);
    

    From Joda Time: First day of week?

提交回复
热议问题