No matter what the intermediate LocalDate value is, setting its dayOfWeek property to Monday always rounds "down" such that adding six days to the beginning of the month gives you the first Monday.
不管中间LocalDate值是多少,将其dayOfWeek属性设置为Monday总是能够四舍五入,这样的话,在每月的开始再加上6天就能够让您得到第一个星期一。
No matter what the intermediate LocalDate value is, setting its dayOfWeek property to Monday always rounds "down" such that adding six days to the beginning of the month gives you the first Monday.
不管中间LocalDate值是多少,将其dayOfWeek属性设置为Monday总是能够四舍五入,这样的话,在每月的开始再加上6天就能够让您得到第一个星期一。
应用推荐