|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DateTimeStyle> com.atlassian.jira.datetime.DateTimeStyle
public enum DateTimeStyle
The date styles that JIRA is capable of formatting to.
Enum Constant Summary | |
---|---|
COMPLETE
Display the date and time. |
|
DATE
Display the date (day, month, and year). |
|
DATE_PICKER
Displays the date in date picker format. |
|
DATE_TIME_PICKER
Displays the date and time in date picker format. |
|
ISO_8601_DATE
The ISO8601 Date format. |
|
ISO_8601_DATE_TIME
The ISO8601 Date Time format. |
|
RELATIVE
Display the date and time relative to now (e.g. |
|
RELATIVE_ALWAYS_WITH_TIME
Displays all dates with time. |
|
RELATIVE_WITH_TIME_ONLY
Displays the time only for relative dates. |
|
RELATIVE_WITHOUT_TIME
Displays dates and never the time. |
|
RSS_RFC822_DATE_TIME
The RFC822 Date format.This format includes date,time and time zone information |
|
TIME
Display the time only. |
Method Summary | |
---|---|
static DateTimeStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DateTimeStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DateTimeStyle TIME
public static final DateTimeStyle DATE
public static final DateTimeStyle COMPLETE
public static final DateTimeStyle RELATIVE
public static final DateTimeStyle DATE_TIME_PICKER
public static final DateTimeStyle DATE_PICKER
public static final DateTimeStyle RELATIVE_WITH_TIME_ONLY
public static final DateTimeStyle RELATIVE_ALWAYS_WITH_TIME
public static final DateTimeStyle RELATIVE_WITHOUT_TIME
public static final DateTimeStyle ISO_8601_DATE_TIME
public static final DateTimeStyle ISO_8601_DATE
public static final DateTimeStyle RSS_RFC822_DATE_TIME
Method Detail |
---|
public static DateTimeStyle[] values()
for (DateTimeStyle c : DateTimeStyle.values()) System.out.println(c);
public static DateTimeStyle valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |