gnu.kawa.xml
Class XTimeType
java.lang.Object
gnu.bytecode.Type
gnu.kawa.xml.XDataType
gnu.kawa.xml.XTimeType
- All Implemented Interfaces:
- TypeValue
public class XTimeType
- extends XDataType
Fields inherited from class gnu.kawa.xml.XDataType |
ANY_URI_TYPE_CODE, anyURIType, BASE64_BINARY_TYPE_CODE, base64BinaryType, BOOLEAN_TYPE_CODE, booleanType, BYTE_TYPE_CODE, DATE_TIME_TYPE_CODE, DATE_TYPE_CODE, DAY_TIME_DURATION_TYPE_CODE, dayTimeDurationType, DECIMAL_ONE, DECIMAL_TYPE_CODE, decimalType, DOUBLE_ONE, DOUBLE_TYPE_CODE, DOUBLE_ZERO, doubleType, DURATION_TYPE_CODE, durationType, FLOAT_ONE, FLOAT_TYPE_CODE, FLOAT_ZERO, floatType, G_DAY_TYPE_CODE, G_MONTH_DAY_TYPE_CODE, G_MONTH_TYPE_CODE, G_YEAR_MONTH_TYPE_CODE, G_YEAR_TYPE_CODE, HEX_BINARY_TYPE_CODE, hexBinaryType, INT_TYPE_CODE, INTEGER_TYPE_CODE, LONG_TYPE_CODE, NEGATIVE_INTEGER_TYPE_CODE, NON_POSITIVE_INTEGER_TYPE_CODE, NONNEGATIVE_INTEGER_TYPE_CODE, NOTATION_TYPE_CODE, NotationType, POSITIVE_INTEGER_TYPE_CODE, QNAME_TYPE_CODE, SHORT_TYPE_CODE, STRING_TYPE_CODE, stringType, TIME_TYPE_CODE, UNSIGNED_BYTE_TYPE_CODE, UNSIGNED_INT_TYPE_CODE, UNSIGNED_LONG_TYPE_CODE, UNSIGNED_SHORT_TYPE_CODE, UNTYPED_ATOMIC_TYPE_CODE, untypedAtomicType, YEAR_MONTH_DURATION_TYPE_CODE, yearMonthDurationType |
Fields inherited from class gnu.bytecode.Type |
boolean_ctype, boolean_type, booleanValue_method, byte_type, char_type, clone_method, double_type, doubleValue_method, float_type, floatValue_method, int_type, intValue_method, java_lang_Class_type, long_type, longValue_method, neverReturnsType, nullType, number_type, pointer_type, reflectClass, short_type, string_type, throwable_type, toString_method, tostring_type, typeArray0, void_type |
Methods inherited from class gnu.kawa.xml.XDataType |
cast, castable, coerceFromObject, compare, emitCoerceFromObject, emitCoerceToObject, emitIsInstance, emitTestIf, getConstructor, getImplementationType, getReflectClass, makeDouble, makeFloat, print, toString |
Methods inherited from class gnu.bytecode.Type |
coerceToObject, emitIsInstance, getName, getSignature, getSize, getSizeInWords, getType, hashCode, isMoreSpecific, isSubtype, isValidJavaTypeName, isVoid, lookupType, lowestCommonSuperType, make, promote, registerTypeForClass, setName, setReflectClass, setSignature, signatureLength, signatureLength, signatureToName, signatureToPrimitive, signatureToType, signatureToType, swappedCompareResult, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
dateTimeType
public static final XTimeType dateTimeType
dateType
public static final XTimeType dateType
timeType
public static final XTimeType timeType
gYearMonthType
public static final XTimeType gYearMonthType
gYearType
public static final XTimeType gYearType
gMonthType
public static final XTimeType gMonthType
gMonthDayType
public static final XTimeType gMonthDayType
gDayType
public static final XTimeType gDayType
now
public DateTime now()
- Return the current date or time in this type.
parseDateTime
public static DateTime parseDateTime(java.lang.String value,
int mask)
valueOf
public java.lang.Object valueOf(java.lang.String value)
- Overrides:
valueOf
in class XDataType
isInstance
public boolean isInstance(java.lang.Object obj)
- Overrides:
isInstance
in class XDataType