public static class ValueTypeImpl.DateTimeScanner extends Object implements ValueScanner<ch.agent.t2.applied.DateTime>
DateTimes.| Constructor and Description |
|---|
DateTimeScanner() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(ch.agent.t2.applied.DateTime value)
Throw an exception if the value does not conform to
special restrictions enforced by the value scanner.
|
Class<ch.agent.t2.applied.DateTime> |
getType()
Return the class of underlying data type of the value scanner.
|
ch.agent.t2.applied.DateTime |
scan(String value)
Scan a string and convert it to an object of the scanner's actual type.
|
String |
toString(ch.agent.t2.applied.DateTime value)
Check and convert the parameter to a string.
|
public Class<ch.agent.t2.applied.DateTime> getType()
ValueScannergetType in interface ValueScanner<ch.agent.t2.applied.DateTime>public void check(ch.agent.t2.applied.DateTime value)
ValueScannercheck in interface ValueScanner<ch.agent.t2.applied.DateTime>value - a valuepublic ch.agent.t2.applied.DateTime scan(String value) throws T2DBException
ValueScannerValueScanner.check(Object).scan in interface ValueScanner<ch.agent.t2.applied.DateTime>value - a stringT2DBExceptionpublic String toString(ch.agent.t2.applied.DateTime value)
ValueScannertoString in interface ValueScanner<ch.agent.t2.applied.DateTime>value - a valueCopyright © 2017. All rights reserved.