Enum PopupFieldFormat.DateFormat
- java.lang.Object
-
- java.lang.Enum<PopupFieldFormat.DateFormat>
-
- com.esri.arcgisruntime.mapping.popup.PopupFieldFormat.DateFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<PopupFieldFormat.DateFormat>
- Enclosing class:
- PopupFieldFormat
public static enum PopupFieldFormat.DateFormat extends Enum<PopupFieldFormat.DateFormat>
Format of a date field in a pop-up. Controls how a date field is displayed a pop-up.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY_SHORT_MONTH_YEAR
Example: 30 Dec 1997LONG_DATE
Example: Tuesday, December 30, 1997LONG_MONTH_DAY_YEAR
Example: December 30, 1997LONG_MONTH_YEAR
Example: December 1997SHORT_DATE
Example: 12/30/1997SHORT_DATE_LE
Example: 30/12/1997SHORT_DATE_LE_LONG_TIME
Example: 30/12/1997 5:59:59 PMSHORT_DATE_LE_LONG_TIME_24
Example: 30/12/1997 17:59:59SHORT_DATE_LE_SHORT_TIME
Example: 30/12/1997 6:00 PMSHORT_DATE_LE_SHORT_TIME_24
Example: 30/12/1997 18:00SHORT_DATE_LONG_TIME
Example: 12/30/1997 5:59:59 PMSHORT_DATE_LONG_TIME_24
Example: 12/30/1997 17:59:59SHORT_DATE_SHORT_TIME
Example: 12/30/1997 6:00 PMSHORT_DATE_SHORT_TIME_24
Example: 12/30/1997 18:00SHORT_MONTH_YEAR
Example: Dec 1997UNKNOWN
Unknown date format.YEAR
Example: 1997
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DateFormat
getFormatter()
Gets a DateFormat which can be used to format a Date field into the appropriate String representation.static PopupFieldFormat.DateFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static PopupFieldFormat.DateFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAY_SHORT_MONTH_YEAR
public static final PopupFieldFormat.DateFormat DAY_SHORT_MONTH_YEAR
Example: 30 Dec 1997- Since:
- 100.0.0
-
LONG_DATE
public static final PopupFieldFormat.DateFormat LONG_DATE
Example: Tuesday, December 30, 1997- Since:
- 100.0.0
-
LONG_MONTH_DAY_YEAR
public static final PopupFieldFormat.DateFormat LONG_MONTH_DAY_YEAR
Example: December 30, 1997- Since:
- 100.0.0
-
LONG_MONTH_YEAR
public static final PopupFieldFormat.DateFormat LONG_MONTH_YEAR
Example: December 1997- Since:
- 100.0.0
-
SHORT_DATE
public static final PopupFieldFormat.DateFormat SHORT_DATE
Example: 12/30/1997- Since:
- 100.0.0
-
SHORT_DATE_LE
public static final PopupFieldFormat.DateFormat SHORT_DATE_LE
Example: 30/12/1997- Since:
- 100.0.0
-
SHORT_DATE_LE_LONG_TIME
public static final PopupFieldFormat.DateFormat SHORT_DATE_LE_LONG_TIME
Example: 30/12/1997 5:59:59 PM- Since:
- 100.0.0
-
SHORT_DATE_LE_LONG_TIME_24
public static final PopupFieldFormat.DateFormat SHORT_DATE_LE_LONG_TIME_24
Example: 30/12/1997 17:59:59- Since:
- 100.0.0
-
SHORT_DATE_LE_SHORT_TIME
public static final PopupFieldFormat.DateFormat SHORT_DATE_LE_SHORT_TIME
Example: 30/12/1997 6:00 PM- Since:
- 100.0.0
-
SHORT_DATE_LE_SHORT_TIME_24
public static final PopupFieldFormat.DateFormat SHORT_DATE_LE_SHORT_TIME_24
Example: 30/12/1997 18:00- Since:
- 100.0.0
-
SHORT_DATE_LONG_TIME
public static final PopupFieldFormat.DateFormat SHORT_DATE_LONG_TIME
Example: 12/30/1997 5:59:59 PM- Since:
- 100.0.0
-
SHORT_DATE_LONG_TIME_24
public static final PopupFieldFormat.DateFormat SHORT_DATE_LONG_TIME_24
Example: 12/30/1997 17:59:59- Since:
- 100.0.0
-
SHORT_DATE_SHORT_TIME
public static final PopupFieldFormat.DateFormat SHORT_DATE_SHORT_TIME
Example: 12/30/1997 6:00 PM- Since:
- 100.0.0
-
SHORT_DATE_SHORT_TIME_24
public static final PopupFieldFormat.DateFormat SHORT_DATE_SHORT_TIME_24
Example: 12/30/1997 18:00- Since:
- 100.0.0
-
SHORT_MONTH_YEAR
public static final PopupFieldFormat.DateFormat SHORT_MONTH_YEAR
Example: Dec 1997- Since:
- 100.0.0
-
YEAR
public static final PopupFieldFormat.DateFormat YEAR
Example: 1997- Since:
- 100.0.0
-
UNKNOWN
public static final PopupFieldFormat.DateFormat UNKNOWN
Unknown date format.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static PopupFieldFormat.DateFormat[] 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 (PopupFieldFormat.DateFormat c : PopupFieldFormat.DateFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PopupFieldFormat.DateFormat 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 nameNullPointerException
- if the argument is null
-
getFormatter
public DateFormat getFormatter()
Gets a DateFormat which can be used to format a Date field into the appropriate String representation.- Returns:
- the DateFormat to use on the Date field
- Since:
- 100.0.0
-
-