public class DateTimeConstant extends StringConstant
| Constructor and Description |
|---|
DateTimeConstant(String value)
Creates a new DateTimeConstant instance.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
assertDateTime(String value)
Report a failure if the given value is not a valid date-time.
|
protected DataValue<String> |
dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
static boolean |
isDateTime(String value)
Returns true if the given value is a valid date-time string.
|
static Date |
toTime(String value)
Returns the time represented by the given value;
|
contains, getTypes, getValue, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarrayOf, arrayOf, arrayOf, contains, containsObject, select, selectValue, valueOfpublic DateTimeConstant(String value)
protected DataValue<String> dataValueOf(String value)
DataValue for the given value in this domain.dataValueOf in class StringConstantpublic static boolean isDateTime(String value)
Copyright © 2020 The Cornutum Project. All rights reserved.