Package com.weicoder.common.constants
Class DateConstants
- java.lang.Object
-
- com.weicoder.common.constants.DateConstants
-
- Direct Known Subclasses:
C.D
public class DateConstants extends java.lang.Object日期常量- Author:
- WD
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDATE_DAY_END日期时间 一天开始 23:59:59static java.lang.StringDATE_DAY_STATR日期时间 一天开始 00:00:00static intDAY时间常量 天 = X秒static java.lang.StringFORMAT_DD日期格式 ddstatic java.lang.StringFORMAT_HH日期格式 HHstatic java.lang.StringFORMAT_HH_MM_SS日期格式 HH:mm:ssstatic java.lang.StringFORMAT_MM日期格式 MMstatic java.lang.StringFORMAT_Y_M_D_H_M日期格式 yyyy-MM-dd HH:mm:ssstatic java.lang.StringFORMAT_Y_M_D_H_M_S日期格式 yyyy-MM-dd HH:mm:ssstatic java.lang.StringFORMAT_YMD_H_M_S日期格式 yyyyMMdd HH:mm:ssstatic java.lang.StringFORMAT_YYYY_MM_DD日期格式 yyyy-MM-ddstatic java.lang.StringFORMAT_YYYYMM日期格式 yyyyMMddstatic java.lang.StringFORMAT_YYYYMMDD日期格式 yyyyMMddstatic intHOUR时间常量 时 = X秒static intMINUTE时间常量 分 = X秒static intSECOND时间常量 秒 = X秒static longTIME_DAY时间常量 天 = X毫秒static longTIME_HOUR时间常量 时 = X毫秒static longTIME_MINUTE时间常量 分 = X毫秒static longTIME_SECOND时间常量 秒 = X毫秒static longTIME_WEEK时间常量 周 = X毫秒static intWEEK时间常量 周 = X秒
-
Constructor Summary
Constructors Constructor Description DateConstants()
-
-
-
Field Detail
-
FORMAT_YYYYMMDD
public static final java.lang.String FORMAT_YYYYMMDD
日期格式 yyyyMMdd- See Also:
- Constant Field Values
-
FORMAT_YYYYMM
public static final java.lang.String FORMAT_YYYYMM
日期格式 yyyyMMdd- See Also:
- Constant Field Values
-
FORMAT_YYYY_MM_DD
public static final java.lang.String FORMAT_YYYY_MM_DD
日期格式 yyyy-MM-dd- See Also:
- Constant Field Values
-
FORMAT_Y_M_D_H_M_S
public static final java.lang.String FORMAT_Y_M_D_H_M_S
日期格式 yyyy-MM-dd HH:mm:ss- See Also:
- Constant Field Values
-
FORMAT_Y_M_D_H_M
public static final java.lang.String FORMAT_Y_M_D_H_M
日期格式 yyyy-MM-dd HH:mm:ss- See Also:
- Constant Field Values
-
FORMAT_YMD_H_M_S
public static final java.lang.String FORMAT_YMD_H_M_S
日期格式 yyyyMMdd HH:mm:ss- See Also:
- Constant Field Values
-
FORMAT_HH_MM_SS
public static final java.lang.String FORMAT_HH_MM_SS
日期格式 HH:mm:ss- See Also:
- Constant Field Values
-
FORMAT_HH
public static final java.lang.String FORMAT_HH
日期格式 HH- See Also:
- Constant Field Values
-
FORMAT_DD
public static final java.lang.String FORMAT_DD
日期格式 dd- See Also:
- Constant Field Values
-
FORMAT_MM
public static final java.lang.String FORMAT_MM
日期格式 MM- See Also:
- Constant Field Values
-
DATE_DAY_STATR
public static final java.lang.String DATE_DAY_STATR
日期时间 一天开始 00:00:00- See Also:
- Constant Field Values
-
DATE_DAY_END
public static final java.lang.String DATE_DAY_END
日期时间 一天开始 23:59:59- See Also:
- Constant Field Values
-
TIME_SECOND
public static final long TIME_SECOND
时间常量 秒 = X毫秒- See Also:
- Constant Field Values
-
TIME_MINUTE
public static final long TIME_MINUTE
时间常量 分 = X毫秒- See Also:
- Constant Field Values
-
TIME_HOUR
public static final long TIME_HOUR
时间常量 时 = X毫秒- See Also:
- Constant Field Values
-
TIME_DAY
public static final long TIME_DAY
时间常量 天 = X毫秒- See Also:
- Constant Field Values
-
TIME_WEEK
public static final long TIME_WEEK
时间常量 周 = X毫秒- See Also:
- Constant Field Values
-
SECOND
public static final int SECOND
时间常量 秒 = X秒- See Also:
- Constant Field Values
-
MINUTE
public static final int MINUTE
时间常量 分 = X秒- See Also:
- Constant Field Values
-
HOUR
public static final int HOUR
时间常量 时 = X秒- See Also:
- Constant Field Values
-
DAY
public static final int DAY
时间常量 天 = X秒- See Also:
- Constant Field Values
-
WEEK
public static final int WEEK
时间常量 周 = X秒- See Also:
- Constant Field Values
-
-