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

commons.box.util.Dates Maven / Gradle / Ivy

The newest version!
package commons.box.util;

import org.apache.commons.lang3.time.FastDateFormat;

import javax.annotation.Nonnull;
import java.util.Locale;
import java.util.TimeZone;

/**
 * 

创建作者:xingxiuyi

*

版权所属:xingxiuyi

*/ public class Dates { /** * Fmts.fmtDate 方法快捷方式 * * @param pattern * @return * @see Fmts#date(String) */ @Nonnull public static FastDateFormat fmt(String pattern) { return Fmts.date(pattern); } /** * Fmts.fmtDate 方法快捷方式 * * @param pattern * @param timeZone * @param locale * @return * @see Fmts#date(String, TimeZone, Locale) */ @Nonnull public static FastDateFormat fmt(String pattern, TimeZone timeZone, Locale locale) { return Fmts.date(pattern, timeZone, locale); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy