大家買的iPad air3發貨了嗎?昨天剛在官網買的,感覺是漫長的等待!?
7.18天貓旗艦店下單----------------中元節發貨了
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.Console;import java.util.Date;
public class Test {
public static void main(String[] args) {
String SttDate = "2020-07-18 02:04:09";
String endDate= "2020-09-08 02:04:09";
Date start = DateUtil.parse(SttDate, "yyyy-MM-dd HH:mm:ss");
Date end = DateUtil.parse(endDate, "yyyy-MM-dd HH:mm:ss");
String nowStr = DateUtil.now();
Date now = DateUtil.parse(nowStr, "yyyy-MM-dd HH:mm:ss");
long between =DateUtil.between(start,now ,DateUnit.SECOND);
long left =DateUtil.between(now,end,DateUnit.SECOND);Console.log("下單時間 "+SttDate);
Console.log("當前時間 "+DateUtil.now());
Console.log("發貨最晚時間 "+endDate);
Console.log("已經等待了 "+getTime(between));
Console.log("距離52天期限還剩 "+getTime(left));}
private static String getTime(long between){
long days = between / ( 60 * 60 * 24);
long hours = (between % ( 60 * 60 * 24)) / (60 * 60);
long minutes = (between % ( 60 * 60)) /60;
long seconds = between % 60;
return days+"天"+hours+"小時"+minutes+"分鐘"+seconds+"秒";
}下單時間 2020-07-18 02:04:09
當前時間 2020-09-02 08:40:26
發貨最晚時間 2020-09-08 02:04:09
已經等待了 46天6小時36分鐘17秒
距離52天期限還剩 5天17小時23分鐘43秒
已經待攬件了,此貼完結
8月15日下的單,預計9月20到9月27號到。完全受不了啊!
我吐了呀 20號推到了22號 唉 受罪啊!
準備發貨?美滋滋?