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