com.atlassian.jira.web.util
Enum OutlookDate.SmartFormatterModes

java.lang.Object
  extended by java.lang.Enum<OutlookDate.SmartFormatterModes>
      extended by com.atlassian.jira.web.util.OutlookDate.SmartFormatterModes
All Implemented Interfaces:
Serializable, Comparable<OutlookDate.SmartFormatterModes>
Enclosing class:
OutlookDate

Deprecated. Use DateTimeFormatter instead. Since v5.0.

@Deprecated
public static enum OutlookDate.SmartFormatterModes
extends Enum<OutlookDate.SmartFormatterModes>

Modes used by OutlookDate.formatSmart(java.util.Date, com.atlassian.jira.web.util.OutlookDate.SmartFormatterModes)


Enum Constant Summary
HIDE_TIME
          Deprecated. use the DateTimeFormatterFactory and the DateTimeStyle.RELATIVE_WITHOUT_TIME
SHOW_TIME
          Deprecated. use the DateTimeFormatterFactory and the DateTimeStyle.RELATIVE_ALWAYS_WITH_TIME
SHOW_TIME_ONLY_ON_DAYS
          Deprecated. use the DateTimeFormatterFactory and the DateTimeStyle.RELATIVE_WITH_TIME_ONLY
 
Method Summary
static OutlookDate.SmartFormatterModes valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static OutlookDate.SmartFormatterModes[] values()
          Deprecated. 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

SHOW_TIME

@Deprecated
public static final OutlookDate.SmartFormatterModes SHOW_TIME
Deprecated. use the DateTimeFormatterFactory and the DateTimeStyle.RELATIVE_ALWAYS_WITH_TIME
always show time information.


HIDE_TIME

@Deprecated
public static final OutlookDate.SmartFormatterModes HIDE_TIME
Deprecated. use the DateTimeFormatterFactory and the DateTimeStyle.RELATIVE_WITHOUT_TIME
never show time information


SHOW_TIME_ONLY_ON_DAYS

@Deprecated
public static final OutlookDate.SmartFormatterModes SHOW_TIME_ONLY_ON_DAYS
Deprecated. use the DateTimeFormatterFactory and the DateTimeStyle.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 Detail

values

public static OutlookDate.SmartFormatterModes[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OutlookDate.SmartFormatterModes c : OutlookDate.SmartFormatterModes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OutlookDate.SmartFormatterModes valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2002-2013 Atlassian. All Rights Reserved.