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

com.facebook.presto.hive.$internal.jodd.datetime.JDateTimeDefault Maven / Gradle / Ivy

// Copyright (c) 2003-2014, Jodd Team (com.facebook.presto.hive.$internal.jodd.org). All Rights Reserved.

package com.facebook.presto.hive.$internal.jodd.datetime;

import com.facebook.presto.hive.$internal.jodd.datetime.format.Iso8601JdtFormatter;
import com.facebook.presto.hive.$internal.jodd.datetime.format.JdtFormatter;

import java.util.TimeZone;
import java.util.Locale;

/**
 * Defaults for {@link com.facebook.presto.hive.$internal.jodd.datetime.JDateTime}.
 */
@SuppressWarnings({"RedundantFieldInitialization"})
public class JDateTimeDefault {

	/**
	 * Default value for month fix.
	 */
	public static boolean monthFix = true;

	/**
	 * Default time zone. Set it to null
	 * for system default timezone.
	 */
	public static TimeZone timeZone = null;		// system default

	/**
	 * Default locale for date names. Set it to null
	 * for system default locale.
	 */
	public static Locale locale = null;			// system default

	/**
	 * Default format template.
	 */
	public static String format = JDateTime.DEFAULT_FORMAT;

	/**
	 * Default formatter.
	 */
	public static JdtFormatter formatter = new Iso8601JdtFormatter();

	/**
	 * Default definition of first day of week.
	 */
	public static int firstDayOfWeek = JDateTime.MONDAY;

	/**
	 * Default number of days first week of year must have.
	 */
	public static int mustHaveDayOfFirstWeek = 4;

	/**
	 * Default minimal number of days firs week of year must have.
	 */
	public static int minDaysInFirstWeek = 4;

	/**
	 * Default value for tracking DST.
	 */
	public static boolean trackDST = false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy