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, isNull
public DateValue(Calendar value)
public String asString()
com.sdl.delivery.configuration.Value
asString
in interface com.sdl.delivery.configuration.Value
asString
in class DefaultValue
public Calendar asDate()
com.sdl.delivery.configuration.Value
asDate
in interface com.sdl.delivery.configuration.Value
asDate
in class DefaultValue
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries