public class DateObjectValue extends Object implements ObjectValue
| Modifier and Type | Field and Description |
|---|---|
static String |
ABSTRACT_DATETIME_FORMAT |
static String |
DATE_FORMAT |
static String |
DATETIME_FORMAT |
| Constructor and Description |
|---|
DateObjectValue(ObjectValueType objectType,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static DateObjectValue |
fromDate(ObjectValueType objectValueType,
Date date) |
ObjectValueType |
getObjectType()
Get the objectValue type
|
String |
getValue() |
DateObjectValue |
setObjectType(ObjectValueType objectType) |
DateObjectValue |
setValue(String value) |
Date |
toDate() |
public static final String ABSTRACT_DATETIME_FORMAT
public static final String DATETIME_FORMAT
public static final String DATE_FORMAT
public DateObjectValue(ObjectValueType objectType, String value)
public static DateObjectValue fromDate(ObjectValueType objectValueType, Date date)
public ObjectValueType getObjectType()
ObjectValuegetObjectType in interface ObjectValuepublic DateObjectValue setObjectType(ObjectValueType objectType)
public String getValue()
public DateObjectValue setValue(String value)
public Date toDate() throws ParseException
ParseExceptionCopyright © 2014–2019 Smartsheet. All rights reserved.