Commit 489b1b8f by 徐康

预计送达时间

parent e65d790b
...@@ -14,7 +14,7 @@ public class DateUtils { ...@@ -14,7 +14,7 @@ public class DateUtils {
if (date == null ){ if (date == null ){
return null; return null;
} }
String[] week={"(周一)","(周二)","(周三)","(周四)","(周五)","(周六)","(周日)"}; String[] week={"(周日)","(周一)","(周二)","(周三)","(周四)","(周五)","(周六)"};
Calendar calendar =Calendar.getInstance(); Calendar calendar =Calendar.getInstance();
calendar.setTime(date); calendar.setTime(date);
int w = calendar.get(Calendar.DAY_OF_WEEK) -1 ; int w = calendar.get(Calendar.DAY_OF_WEEK) -1 ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment