Module com.esri.arcgisruntime
Enum Class PopupFieldFormat.DateFormat
java.lang.Object
java.lang.Enum<PopupFieldFormat.DateFormat>
com.esri.arcgisruntime.mapping.popup.PopupFieldFormat.DateFormat
- All Implemented Interfaces:
Serializable
,Comparable<PopupFieldFormat.DateFormat>
,Constable
- Enclosing class:
PopupFieldFormat
Format of a date field in a pop-up.
Controls how a date field is displayed a pop-up.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExample: 30 Dec 1997Example: Tuesday, December 30, 1997Example: December 30, 1997Example: December 1997Example: 12/30/1997Example: 30/12/1997Example: 30/12/1997 5:59:59 PMExample: 30/12/1997 17:59:59Example: 30/12/1997 6:00 PMExample: 30/12/1997 18:00Example: 12/30/1997 5:59:59 PMExample: 12/30/1997 17:59:59Example: 12/30/1997 6:00 PMExample: 12/30/1997 18:00Example: Dec 1997Unknown date format.Example: 1997 -
Method Summary
Modifier and TypeMethodDescriptionGets a DateFormat which can be used to format a Date field into the appropriate String representation.static PopupFieldFormat.DateFormat
Returns the enum constant of this class with the specified name.static PopupFieldFormat.DateFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAY_SHORT_MONTH_YEAR
Example: 30 Dec 1997- Since:
- 100.0.0
-
LONG_DATE
Example: Tuesday, December 30, 1997- Since:
- 100.0.0
-
LONG_MONTH_DAY_YEAR
Example: December 30, 1997- Since:
- 100.0.0
-
LONG_MONTH_YEAR
Example: December 1997- Since:
- 100.0.0
-
SHORT_DATE
Example: 12/30/1997- Since:
- 100.0.0
-
SHORT_DATE_LE
Example: 30/12/1997- Since:
- 100.0.0
-
SHORT_DATE_LE_LONG_TIME
Example: 30/12/1997 5:59:59 PM- Since:
- 100.0.0
-
SHORT_DATE_LE_LONG_TIME_24
Example: 30/12/1997 17:59:59- Since:
- 100.0.0
-
SHORT_DATE_LE_SHORT_TIME
Example: 30/12/1997 6:00 PM- Since:
- 100.0.0
-
SHORT_DATE_LE_SHORT_TIME_24
Example: 30/12/1997 18:00- Since:
- 100.0.0
-
SHORT_DATE_LONG_TIME
Example: 12/30/1997 5:59:59 PM- Since:
- 100.0.0
-
SHORT_DATE_LONG_TIME_24
Example: 12/30/1997 17:59:59- Since:
- 100.0.0
-
SHORT_DATE_SHORT_TIME
Example: 12/30/1997 6:00 PM- Since:
- 100.0.0
-
SHORT_DATE_SHORT_TIME_24
Example: 12/30/1997 18:00- Since:
- 100.0.0
-
SHORT_MONTH_YEAR
Example: Dec 1997- Since:
- 100.0.0
-
YEAR
Example: 1997- Since:
- 100.0.0
-
UNKNOWN
Unknown date format.- Since:
- 100.0.0
-
-
Method Details
-
values
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
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
-
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
-