io.polaris.core.time.DateConsts Maven / Gradle / Ivy
package io.polaris.core.time;
import java.time.format.DateTimeFormatter;
/**
* @author Qt
* @since May 31, 2024
*/
public interface DateConsts {
public static final String PATTERN_YYYYMMDD = "yyyyMMdd";
public static final String PATTERN_YYYYMMDDHHMMSS = "yyyyMMddHHmmss";
public static final String PATTERN_YYYYMMDDHHMMSSSSS = "yyyyMMddHHmmssSSS";
public static final String PATTERN_HHMMSS = "HHmmss";
public static final String PATTERN_HHMMSSSSS = "HHmmssSSS";
public static final String PATTERN_YYYY_MM_DD = "yyyy-MM-dd";
public static final String PATTERN_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
public static final String PATTERN_YYYY_MM_DD_HH_MM_SS_SSS = "yyyy-MM-dd HH:mm:ss.SSS";
public static final String PATTERN_HH_MM_SS = "HH:mm:ss";
public static final String PATTERN_HH_MM_SS_SSS = "HH:mm:ss.SSS";
}