|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.whattf.datatype.AbstractDatatype org.whattf.datatype.AbstractDatetime org.whattf.datatype.DatetimeTz
public final class DatetimeTz
This datatype shall accept strings that conform to the format specified for
datetime
attribute of the ins
and del
elements in Web Applications 1.0.
If the time zone designator is not "Z
", the absolute value of the time
zone designator must not exceed 12 hours.
This datatype must not accept the empty string.
Note that allowing a numeric time zone designator is not the only difference with
datetime
. This type requires seconds to be explicitly
present.
Field Summary | |
---|---|
static DatetimeTz |
THE_INSTANCE
The singleton instance. |
private static Pattern |
THE_PATTERN
The rexexp for this datatype. |
Fields inherited from interface org.relaxng.datatype.Datatype |
---|
ID_TYPE_ID, ID_TYPE_IDREF, ID_TYPE_IDREFS, ID_TYPE_NULL |
Constructor Summary | |
---|---|
private |
DatetimeTz()
Constructor. |
Method Summary | |
---|---|
protected Pattern |
getPattern()
Returns the regexp for this datatype. |
Methods inherited from class org.whattf.datatype.AbstractDatetime |
---|
checkHour, checkMinute, checkSecond, checkValid |
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 |
Field Detail |
---|
public static final DatetimeTz THE_INSTANCE
private static final Pattern THE_PATTERN
Constructor Detail |
---|
private DatetimeTz()
Method Detail |
---|
protected final Pattern getPattern()
getPattern
in class AbstractDatetime
AbstractDatetime.getPattern()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |