This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.takwolf.util; | |
| import java.util.Date; | |
| public class TimeUtil { | |
| private final static long minute = 60 * 1000;// 分钟 | |
| private final static long hour = 60 * minute;// 小时 | |
| private final static long day = 24 * hour;// 天 | |
| private final static long week = 7 * day; // 周 |
NewerOlder