Package com.atlassian.jira.web.util
Enum Class OutlookDate.SmartFormatterModes
java.lang.Object
java.lang.Enum<OutlookDate.SmartFormatterModes>
com.atlassian.jira.web.util.OutlookDate.SmartFormatterModes
- All Implemented Interfaces:
Serializable
,Comparable<OutlookDate.SmartFormatterModes>
,Constable
- Enclosing class:
- OutlookDate
@Deprecated
public static enum OutlookDate.SmartFormatterModes
extends Enum<OutlookDate.SmartFormatterModes>
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.use theDateTimeFormatterFactory
and theDateTimeStyle.RELATIVE_WITHOUT_TIME
Deprecated.use theDateTimeFormatterFactory
and theDateTimeStyle.RELATIVE_ALWAYS_WITH_TIME
Deprecated.use theDateTimeFormatterFactory
and theDateTimeStyle.RELATIVE_WITH_TIME_ONLY
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the enum constant of this class with the specified name.static OutlookDate.SmartFormatterModes[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHOW_TIME
Deprecated.use theDateTimeFormatterFactory
and theDateTimeStyle.RELATIVE_ALWAYS_WITH_TIME
always show time information. -
HIDE_TIME
Deprecated.use theDateTimeFormatterFactory
and theDateTimeStyle.RELATIVE_WITHOUT_TIME
never show time information -
SHOW_TIME_ONLY_ON_DAYS
Deprecated.use theDateTimeFormatterFactory
and theDateTimeStyle.RELATIVE_WITH_TIME_ONLY
shows times only on the days of the week (i.e. if printing "Last Wednesday" or "Tomorrow" but not "11/1/1984")
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
DateTimeFormatter
instead. Since v5.0.