All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iwuyc.tools.commons.util.time.DateFormatterConstants Maven / Gradle / Ivy

The newest version!
package com.iwuyc.tools.commons.util.time;

import java.time.Instant;
import java.time.ZoneId;
import java.time.ZoneOffset;
import java.util.Locale;

/**
 * Date Formatter Pattern
 *
 * @author Neil
 */
public interface DateFormatterConstants {
    String DEFAULT_PATTERN = DateTimeFormatterPattern.TIMEZONE_LONG_DATE_SECOND_FORMATTER;
    Locale DEFAULT_LOCALE = Locale.getDefault();
    ZoneId DEFAULT_ZONE_ID = ZoneId.systemDefault();
    ZoneOffset DEFAULT_ZONE_OFFSET = DEFAULT_ZONE_ID.getRules().getOffset(Instant.now());
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy