LocalDateTime 计算前一天后天的java方法2021

public LocalDateTime plusSeconds(long seconds) {
    return plusWithOverflow(date, 0, 0, seconds, 0, 1);
}

 

2021-01-13 00:00:00 - 2021-01-13 23:59:59

if (searchVo.getUpdateTimeEnd() != null) {
    qw.le("update_time", DateUtil.parse(searchVo.getUpdateTimeEnd()).plusSeconds(24 * 60 * 60 - 1));
}
if (updateTime != null) {
//            if (updateTimeEnd != null) {
//                multiTagQuery.setUpdateTimeEnd(updateTimeEnd.plusSeconds(24 * 60 * 60 - 1));
//            } else {
//                multiTagQuery.setUpdateTimeEnd(updateTime.plusSeconds(24 * 60 * 60 - 1));
//            }
最新回复(0)
/jishuXvFVRFVTtN7fZitRQ_2FjP_2B3b2gJTpnHKM7sbKMg_3D_3D4858461
8 简首页