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

org.redmine.ta.internal.RedmineDateUtils Maven / Gradle / Ivy

Go to download

Free open-source Java API for Redmine and Chiliproject bug/task management systems.

There is a newer version: 1.15.0
Show newest version
package org.redmine.ta.internal;

/**
 * Redmine date conversion utils.
 * 
 * @author maxkar
 */
public final class RedmineDateUtils {
	/**
	 * Full date format.
	 */
	public static final LocalDateFormat FULL_DATE_FORMAT = new LocalDateFormat(
			"yyyy/MM/dd HH:mm:ss Z");

	/**
	 * Full date format.
	 */
	public static final LocalDateFormat FULL_DATE_FORMAT_V2 = new LocalDateFormat(
			"yyyy-MM-dd'T'HH:mm:ssz");
	/**
	 * Short date format.
	 */
	public static final LocalDateFormat SHORT_DATE_FORMAT = new LocalDateFormat(
			"yyyy/MM/dd");

	/**
	 * Short date format.
	 */
	public static final LocalDateFormat SHORT_DATE_FORMAT_V2 = new LocalDateFormat(
			"yyyy-MM-dd");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy