|
@@ -663,7 +663,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils
|
|
|
|
|
|
|
|
|
public static Map<Long,Long> getWeekTime(Long startTime,Long endTime){
|
|
|
- Map<Long,Long> mapList = new HashMap<>();
|
|
|
+ Map<Long,Long> mapList = new LinkedHashMap<>();
|
|
|
Long zeroTime = DateUtils.getScheduleTimeZeroTime(startTime);
|
|
|
//一天的时间戳
|
|
|
Long time = 86400L;
|
|
@@ -677,7 +677,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils
|
|
|
public static Map<Long,Long> getMonthTime(Long startTime,Long endTime){
|
|
|
//一天的时间戳
|
|
|
Long time = 86400L;
|
|
|
- Map<Long,Long> map = new HashMap<>();
|
|
|
+ Map<Long,Long> map = new LinkedHashMap<>();
|
|
|
try{
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM");
|
|
|
Date d1 = DateUtils.timeToDate(startTime);
|