java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.jira.datetime.DateTimeStyle |
The date styles that JIRA is capable of formatting to.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||
From interface
java.lang.Comparable
|
Display the date (day, month, and year).
You should use system time zone when you use this type of formatter.
Displays the date and time in date picker format.
The ISO8601 Date format. This format includes the date only.
The ISO8601 Date Time format. This format includes date and time information in UTC.
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.
Displays the time only for relative dates.
The RFC822 Date format.This format includes date,time and time zone information