org.whattf.datatype
Class Time
java.lang.Object
org.whattf.datatype.AbstractDatatype
org.whattf.datatype.AbstractDatetime
org.whattf.datatype.Time
- All Implemented Interfaces:
- Datatype
public final class Time
- extends AbstractDatetime
- Version:
- $Id: Time.java,v 1.3 2006/11/18 11:51:44 hsivonen Exp $
- Author:
- hsivonen
Constructor Summary |
private |
Time()
Constructor. |
Methods inherited from class org.whattf.datatype.AbstractDatatype |
checkValid, createStreamingValidator, createValue, getIdType, isContextDependent, isValid, isWhitespace, sameValue, toAsciiLowerCase, toAsciiLowerCase, valueHashCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THE_INSTANCE
public static final Time THE_INSTANCE
- The singleton instance.
THE_PATTERN
private static final Pattern THE_PATTERN
- The rexexp for this datatype.
Time
private Time()
- Constructor.
checkValid
public void checkValid(CharSequence literal)
throws DatatypeException
- Overrides:
checkValid
in class AbstractDatetime
- Throws:
DatatypeException
getPattern
protected final Pattern getPattern()
- Returns the regexp for this datatype.
- Specified by:
getPattern
in class AbstractDatetime
- Returns:
- the regexp for this datatype
- See Also:
AbstractDatetime.getPattern()