|
|
@ -11,13 +11,17 @@ import java.util.Arrays; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Created by qi_liang on 2018/1/26. |
|
|
|
* 日期工具类 |
|
|
|
* @author qi |
|
|
|
* @author qi |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class DateUtil { |
|
|
|
public class DateUtil { |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 日志处理类 |
|
|
|
|
|
|
|
*/ |
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(DateUtil.class); |
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(DateUtil.class); |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 默认日期格式 |
|
|
|
|
|
|
|
*/ |
|
|
|
public static final String DEFAULT_PATTERN="yyyy-MM-dd HH:mm:ss"; |
|
|
|
public static final String DEFAULT_PATTERN="yyyy-MM-dd HH:mm:ss"; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|