public class XSDAbstractDateTimeType extends XSDDatatype
XSDDatatype.XSDGenericTypeBaseDatatype.TypedValue| Modifier and Type | Field and Description |
|---|---|
static short |
DAY_MASK
Mask to indicate whether day is present
|
static short |
FULL_MASK
Mask to indicate all date/time are present
|
static short |
MONTH_MASK
Mask to indicate whether month is present
|
static short |
TIME_MASK
Mask to indicate whether time is present
|
static short |
YEAR_MASK
Mask to indicate whether year is present
|
XSD, XSDanyURI, XSDbase64Binary, XSDboolean, XSDbyte, XSDdate, XSDdateTime, XSDdateTimeStamp, XSDdayTimeDuration, XSDdecimal, XSDdouble, XSDduration, XSDENTITY, XSDfloat, XSDgDay, XSDgMonth, XSDgMonthDay, XSDgYear, XSDgYearMonth, XSDhexBinary, XSDID, XSDIDREF, XSDint, XSDinteger, XSDlanguage, XSDlong, XSDName, XSDNCName, XSDnegativeInteger, XSDNMTOKEN, XSDnonNegativeInteger, XSDnonPositiveInteger, XSDnormalizedString, XSDNOTATION, XSDpositiveInteger, XSDQName, XSDshort, XSDstring, XSDtime, XSDtoken, XSDunsignedByte, XSDunsignedInt, XSDunsignedLong, XSDunsignedShort, XSDyearMonthDuration| Constructor and Description |
|---|
XSDAbstractDateTimeType(String typename)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
appendFractionalTime(StringBuffer buff,
int fsec,
int scale)
Append the fraction time part of a date/time vector to
a string buffer.
|
String |
dateToString(int[] date) |
static int |
getDigit(char ch) |
static boolean |
isDigit(char ch) |
boolean |
isEqual(LiteralLabel value1,
LiteralLabel value2)
Compares two instances of values of the given datatype.
|
RDFDatatype |
normalizeSubType(Object value,
RDFDatatype dt)
Normalization.
|
extendedTypeDefinition, getJavaClass, isBaseTypeCompatible, isValidLiteral, loadXSDSimpleTypes, main, parse, parseValidated, trimPlus, unparsecannonicalise, getHashCode, getURI, isValid, isValidValue, langTagCompatible, toStringpublic static final short YEAR_MASK
public static final short MONTH_MASK
public static final short DAY_MASK
public static final short TIME_MASK
public static final short FULL_MASK
public XSDAbstractDateTimeType(String typename)
public boolean isEqual(LiteralLabel value1, LiteralLabel value2)
isEqual in interface RDFDatatypeisEqual in class XSDDatatypepublic static final boolean isDigit(char ch)
public static final int getDigit(char ch)
public String dateToString(int[] date)
public static void appendFractionalTime(StringBuffer buff, int fsec, int scale)
public RDFDatatype normalizeSubType(Object value, RDFDatatype dt)
normalizeSubType in interface RDFDatatypenormalizeSubType in class BaseDatatypevalue - the current object valuedt - the currently set data typeLicenced under the Apache License, Version 2.0