public class DateUtils extends Object
Constructor and Description |
---|
DateUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDateTime(Date date)
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss |
static String |
httpDate()
当前时间生成符合http响应头中的Date格式的字符串
|
static String |
httpDate(Date date)
把date生成符合http响应头中的Date格式的字符串
|
static String |
httpDate(long millis) |
Copyright © 2018. All rights reserved.