public final enum

DateTimeStyle

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.jira.datetime.DateTimeStyle

Class Overview

The date styles that JIRA is capable of formatting to.

Summary

Enum Values
DateTimeStyle  COMPLETE  Display the date and time. 
DateTimeStyle  DATE  Display the date (day, month, and year). 
DateTimeStyle  DATE_PICKER  Displays the date in date picker format. 
DateTimeStyle  DATE_TIME_PICKER  Displays the date and time in date picker format. 
DateTimeStyle  ISO_8601_DATE  The ISO8601 Date format. 
DateTimeStyle  ISO_8601_DATE_TIME  The ISO8601 Date Time format. 
DateTimeStyle  RELATIVE  Display the date and time relative to now (e.g. 
DateTimeStyle  RELATIVE_ALWAYS_WITH_TIME  Displays all dates with time. 
DateTimeStyle  RELATIVE_WITHOUT_TIME  Displays dates and never the time. 
DateTimeStyle  RELATIVE_WITH_TIME_ONLY  Displays the time only for relative dates. 
DateTimeStyle  RSS_RFC822_DATE_TIME  The RFC822 Date format.This format includes date,time and time zone information  
DateTimeStyle  TIME  Display the time only. 
Public Methods
static DateTimeStyle valueOf(String name)
final static DateTimeStyle[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DateTimeStyle COMPLETE

Display the date and time.

public static final DateTimeStyle DATE

Display the date (day, month, and year).

You should use system time zone when you use this type of formatter.

public static final DateTimeStyle DATE_PICKER

Displays the date in date picker format.

public static final DateTimeStyle DATE_TIME_PICKER

Displays the date and time in date picker format.

public static final DateTimeStyle ISO_8601_DATE

The ISO8601 Date format. This format includes the date only.

public static final DateTimeStyle ISO_8601_DATE_TIME

The ISO8601 Date Time format. This format includes date and time information in UTC.

public static final DateTimeStyle RELATIVE

Display the date and time relative to now (e.g. using words such as "Today", "Yesterday", etc). Note that dates will only be displayed in relative format if this feature is enabled in JIRA. Otherwise they will use the COMPLETE format.

public static final DateTimeStyle RELATIVE_ALWAYS_WITH_TIME

Displays all dates with time.

public static final DateTimeStyle RELATIVE_WITHOUT_TIME

Displays dates and never the time.

public static final DateTimeStyle RELATIVE_WITH_TIME_ONLY

Displays the time only for relative dates.

public static final DateTimeStyle RSS_RFC822_DATE_TIME

The RFC822 Date format.This format includes date,time and time zone information

public static final DateTimeStyle TIME

Display the time only.

Public Methods

public static DateTimeStyle valueOf (String name)

public static final DateTimeStyle[] values ()