com.esri.core.map.popup
Enum PopupDateFormatValue.DATE_FORMAT

java.lang.Object
  extended by java.lang.Enum<PopupDateFormatValue.DATE_FORMAT>
      extended by com.esri.core.map.popup.PopupDateFormatValue.DATE_FORMAT
All Implemented Interfaces:
Serializable, Comparable<PopupDateFormatValue.DATE_FORMAT>
Enclosing class:
PopupDateFormatValue

public static enum PopupDateFormatValue.DATE_FORMAT
extends Enum<PopupDateFormatValue.DATE_FORMAT>

Enumeration of all the date formats that are supported by a popup.


Enum Constant Summary
DAYSHORTMONTHYEAR
          Date format: dd MM yyyy
LONGDATE
          Date format: EEEE, MMMM dd, yyyy
LONGMONTHDAYYEAR
          Date format: MMMM dd, yyyy
LONGMONTHYEAR
          Date format: MMMM yyyy
SHORTDATE
          Date format: MM/dd/yyyy
SHORTDATESHORTTIME
          Date format: MM/dd/yyyy h:mm a
SHORTDATESHORTTIME24
          Date format: MM/dd/yyyy HH:mm
SHORTMONTHYEAR
          Date format: MMM yyyy
YEAR
          Date format: yyyy
 
Method Summary
static PopupDateFormatValue.DATE_FORMAT valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PopupDateFormatValue.DATE_FORMAT[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SHORTDATE

public static final PopupDateFormatValue.DATE_FORMAT SHORTDATE
Date format: MM/dd/yyyy


SHORTMONTHYEAR

public static final PopupDateFormatValue.DATE_FORMAT SHORTMONTHYEAR
Date format: MMM yyyy


LONGMONTHDAYYEAR

public static final PopupDateFormatValue.DATE_FORMAT LONGMONTHDAYYEAR
Date format: MMMM dd, yyyy


DAYSHORTMONTHYEAR

public static final PopupDateFormatValue.DATE_FORMAT DAYSHORTMONTHYEAR
Date format: dd MM yyyy


LONGDATE

public static final PopupDateFormatValue.DATE_FORMAT LONGDATE
Date format: EEEE, MMMM dd, yyyy


SHORTDATESHORTTIME

public static final PopupDateFormatValue.DATE_FORMAT SHORTDATESHORTTIME
Date format: MM/dd/yyyy h:mm a


SHORTDATESHORTTIME24

public static final PopupDateFormatValue.DATE_FORMAT SHORTDATESHORTTIME24
Date format: MM/dd/yyyy HH:mm


LONGMONTHYEAR

public static final PopupDateFormatValue.DATE_FORMAT LONGMONTHYEAR
Date format: MMMM yyyy


YEAR

public static final PopupDateFormatValue.DATE_FORMAT YEAR
Date format: yyyy

Method Detail

values

public static PopupDateFormatValue.DATE_FORMAT[] values()
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 (PopupDateFormatValue.DATE_FORMAT c : PopupDateFormatValue.DATE_FORMAT.values())
    System.out.println(c);

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

valueOf

public static PopupDateFormatValue.DATE_FORMAT valueOf(String name)
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 © 2012. All Rights Reserved.