Class DatatypeConstants
Utility class to contain basic Datatype values as constants.
- Since:
- 1.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classType-safe enum class that represents six fields of theDurationclass. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intValue for fourth month of year.static final intValue for eighth month of year.static final QNameFully qualified name for W3C XML Schema 1.0 datatypedate.static final QNameFully qualified name for W3C XML Schema 1.0 datatypedateTime.static final DatatypeConstants.FieldA constant that represents the days field.static final intValue for twelve month of year.static final QNameFully qualified name for W3C XML Schema datatypeduration.static final QNameFully qualified name for XQuery 1.0 and XPath 2.0 datatypedayTimeDuration.static final QNameFully qualified name for XQuery 1.0 and XPath 2.0 datatypeyearMonthDuration.static final intComparison result.static final intValue for second month of year.static final intDesignation that an "int" field is not set.static final QNameFully qualified name for W3C XML Schema 1.0 datatypegDay.static final QNameFully qualified name for W3C XML Schema 1.0 datatypegMonth.static final QNameFully qualified name for W3C XML Schema 1.0 datatypegMonthDay.static final intComparison result.static final QNameFully qualified name for W3C XML Schema 1.0 datatypegYear.static final QNameFully qualified name for W3C XML Schema 1.0 datatypegYearMonth.static final DatatypeConstants.FieldA constant that represents the hours field.static final intComparison result.static final intValue for first month of year.static final intValue for seventh month of year.static final intValue for sixth month of year.static final intComparison result.static final intValue for third month of year.static final intW3C XML Schema max timezone offset is -14:00.static final intValue for fifth month of year.static final intW3C XML Schema min timezone offset is +14:00.static final DatatypeConstants.FieldA constant that represents the minutes field.static final DatatypeConstants.FieldA constant that represents the months field.static final intValue for eleven month of year.static final intValue for tenth month of year.static final DatatypeConstants.FieldA constant that represents the seconds field.static final intValue for ninth month of year.static final QNameFully qualified name for W3C XML Schema 1.0 datatypetime.static final DatatypeConstants.FieldA constant that represents the years field. -
Method Summary
Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.May cause performance issues, deadlocks and hangs.getClass()Answers the unique instance of java.lang.Class which represents the class of the receiver.inthashCode()Answers an integer hash code for the receiver.final voidnotify()Causes one thread which iswaiting on the receiver to be made ready to run.final voidCauses all threads which arewaiting on the receiver to be made ready to run.toString()Answers a string containing a concise, human-readable description of the receiver.final voidwait()Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated bynotifyornotifyAll).final voidwait(long time) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.final voidwait(long time, int frac) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.
-
Field Details
-
JANUARY
public static final int JANUARYValue for first month of year.- See Also:
-
FEBRUARY
public static final int FEBRUARYValue for second month of year.- See Also:
-
MARCH
public static final int MARCHValue for third month of year.- See Also:
-
APRIL
public static final int APRILValue for fourth month of year.- See Also:
-
MAY
public static final int MAYValue for fifth month of year.- See Also:
-
JUNE
public static final int JUNEValue for sixth month of year.- See Also:
-
JULY
public static final int JULYValue for seventh month of year.- See Also:
-
AUGUST
public static final int AUGUSTValue for eighth month of year.- See Also:
-
SEPTEMBER
public static final int SEPTEMBERValue for ninth month of year.- See Also:
-
OCTOBER
public static final int OCTOBERValue for tenth month of year.- See Also:
-
NOVEMBER
public static final int NOVEMBERValue for eleven month of year.- See Also:
-
DECEMBER
public static final int DECEMBERValue for twelve month of year.- See Also:
-
LESSER
public static final int LESSERComparison result.
- See Also:
-
EQUAL
public static final int EQUALComparison result.
- See Also:
-
GREATER
public static final int GREATERComparison result.
- See Also:
-
INDETERMINATE
public static final int INDETERMINATEComparison result.
- See Also:
-
FIELD_UNDEFINED
public static final int FIELD_UNDEFINEDDesignation that an "int" field is not set.- See Also:
-
YEARS
A constant that represents the years field.
-
MONTHS
A constant that represents the months field.
-
DAYS
A constant that represents the days field.
-
HOURS
A constant that represents the hours field.
-
MINUTES
A constant that represents the minutes field.
-
SECONDS
A constant that represents the seconds field.
-
DATETIME
Fully qualified name for W3C XML Schema 1.0 datatype
dateTime. -
TIME
Fully qualified name for W3C XML Schema 1.0 datatype
time. -
DATE
Fully qualified name for W3C XML Schema 1.0 datatype
date. -
GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatype
gYearMonth. -
GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatype
gMonthDay. -
GYEAR
Fully qualified name for W3C XML Schema 1.0 datatype
gYear. -
GMONTH
Fully qualified name for W3C XML Schema 1.0 datatype
gMonth. -
GDAY
Fully qualified name for W3C XML Schema 1.0 datatype
gDay. -
DURATION
Fully qualified name for W3C XML Schema datatype
duration. -
DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype
dayTimeDuration. -
DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype
yearMonthDuration. -
MAX_TIMEZONE_OFFSET
public static final int MAX_TIMEZONE_OFFSETW3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.- See Also:
-
MIN_TIMEZONE_OFFSET
public static final int MIN_TIMEZONE_OFFSETW3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.- See Also:
-