下一天

        Date time = new Date();
        System.out.println(time);
        Date next = new Date(time.getTime()+(60*60*24*1000*10));
        System.out.println(next);

        long between = (next.getTime()-time.getTime())/86400000L;
        System.out.println(between);

你可能感兴趣的:(下一天)