Commit 5bc71dbc935e9235ce9511baffc5fe4f1313cf08
Exists in
master
and in
8 other branches
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-common/src/main/java/com/lyms/platform/common/utils/DateUtil.java
View file @
5bc71db
... | ... | @@ -742,15 +742,15 @@ |
742 | 742 | // System.out.println(s); |
743 | 743 | // Date s = addDay(parseYMD("2016-02-26"), 168); |
744 | 744 | |
745 | - int start = 42; | |
746 | - int end = 42; | |
745 | + int start = 37; | |
746 | + int end = 37; | |
747 | 747 | |
748 | 748 | |
749 | -// Date startDate = DateUtil.getNewDate(-end-1,"周",1+1); | |
750 | -// Date endDate = DateUtil.getNewDate(-start,"周",0+1); | |
749 | + Date startDate = DateUtil.getNewDate(-end-1,"周",1+1); | |
750 | + Date endDate = DateUtil.getNewDate(-start,"周",0+1); | |
751 | 751 | |
752 | - Date startDate = DateUtil.getNewDate(-end,"天",1); | |
753 | - Date endDate = DateUtil.getNewDate(-start,"天",1); | |
752 | +// Date startDate = DateUtil.getNewDate(-end,"天",1); | |
753 | +// Date endDate = DateUtil.getNewDate(-start,"天",1); | |
754 | 754 | |
755 | 755 | System.out.println(startDate + "==="+ endDate); |
756 | 756 | } catch (Exception e) |