public class DateValue extends DefaultValue
Note: this is example code only, a version of this class may be be included in the common config module at some point in the future.
| Modifier and Type | Method and Description |
|---|---|
Calendar |
asDate()
Get the value as a date.
|
String |
asString()
Get the value as a String.
|
boolean |
equals(Object o) |
int |
hashCode() |
asBigDecimal, asBigInteger, asBoolean, asDouble, asLong, isNullpublic DateValue(Calendar value)
public String asString()
com.sdl.delivery.configuration.ValueasString in interface com.sdl.delivery.configuration.ValueasString in class DefaultValuepublic Calendar asDate()
com.sdl.delivery.configuration.ValueasDate in interface com.sdl.delivery.configuration.ValueasDate in class DefaultValueCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries