java.lang.Object | ||
↳ | com.esri.core.map.popup.PopupFormatValue | |
↳ | com.esri.core.map.popup.PopupDateFormatValue |
The PopupDateFormatValue class extends PopupFormatValue
and represents the date format.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | PopupDateFormatValue.DATE_FORMAT | Enumeration of all the date formats that are supported by a popup. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PopupDateFormatValue()
Default constructor for PopupDateFormatValue
| |||||||||||
PopupDateFormatValue(PopupDateFormatValue.DATE_FORMAT format)
Constructor for PopupDateFormatValue that sets an initial
PopupDateFormatValue.DATE_FORMAT . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
formattedValue(Object value)
Formats a given date object into a string.
| ||||||||||
SimpleDateFormat |
getFormat()
Returns the SimpleDateFormat of this PopupDateFormatValue.
| ||||||||||
void |
setFormat(PopupDateFormatValue.DATE_FORMAT format)
Sets the date format using a PopupDateFormatValue.DATE_FORMAT.
| ||||||||||
void |
setFormat(SimpleDateFormat format)
Sets the date format according to the given SimpleDateFormat object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.map.popup.PopupFormatValue
| |||||||||||
From class
java.lang.Object
|
Default constructor for PopupDateFormatValue
Constructor for PopupDateFormatValue that sets an initial PopupDateFormatValue.DATE_FORMAT
.
format | A PopupDateFormatValue.DATE_FORMAT . |
---|
Formats a given date object into a string. Examples of date objects are a date value expressed in milliseconds and a Date object.
value | The value to be formatted |
---|
Returns the SimpleDateFormat of this PopupDateFormatValue.
Sets the date format using a PopupDateFormatValue.DATE_FORMAT.
format | The format as a PopupDateFormatValue.DATE_FORMAT |
---|
Sets the date format according to the given SimpleDateFormat object. The SimpleDateFormat will be mapped to a PopupDateFormatValue.DATE_FORMAT.
format | The format as a SimpleDateFormat |
---|