public final class DatatypeConstants extends Object
Utility class to contain basic Datatype values as constants.
- Since:
- 1.5
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDatatypeConstants.FieldType-safe enum class that represents six fields of theDurationclass.
- 
Field SummaryFields Modifier and Type Field Description static intAPRILValue for fourth month of year.static intAUGUSTValue for eighth month of year.static QNameDATEFully qualified name for W3C XML Schema 1.0 datatypedate.static QNameDATETIMEFully qualified name for W3C XML Schema 1.0 datatypedateTime.static DatatypeConstants.FieldDAYSA constant that represents the days field.static intDECEMBERValue for twelve month of year.static QNameDURATIONFully qualified name for W3C XML Schema datatypeduration.static QNameDURATION_DAYTIMEFully qualified name for XQuery 1.0 and XPath 2.0 datatypedayTimeDuration.static QNameDURATION_YEARMONTHFully qualified name for XQuery 1.0 and XPath 2.0 datatypeyearMonthDuration.static intEQUALComparison result.static intFEBRUARYValue for second month of year.static intFIELD_UNDEFINEDDesignation that an "int" field is not set.static QNameGDAYFully qualified name for W3C XML Schema 1.0 datatypegDay.static QNameGMONTHFully qualified name for W3C XML Schema 1.0 datatypegMonth.static QNameGMONTHDAYFully qualified name for W3C XML Schema 1.0 datatypegMonthDay.static intGREATERComparison result.static QNameGYEARFully qualified name for W3C XML Schema 1.0 datatypegYear.static QNameGYEARMONTHFully qualified name for W3C XML Schema 1.0 datatypegYearMonth.static DatatypeConstants.FieldHOURSA constant that represents the hours field.static intINDETERMINATEComparison result.static intJANUARYValue for first month of year.static intJULYValue for seventh month of year.static intJUNEValue for sixth month of year.static intLESSERComparison result.static intMARCHValue for third month of year.static intMAX_TIMEZONE_OFFSETW3C XML Schema max timezone offset is -14:00.static intMAYValue for fifth month of year.static intMIN_TIMEZONE_OFFSETW3C XML Schema min timezone offset is +14:00.static DatatypeConstants.FieldMINUTESA constant that represents the minutes field.static DatatypeConstants.FieldMONTHSA constant that represents the months field.static intNOVEMBERValue for eleven month of year.static intOCTOBERValue for tenth month of year.static DatatypeConstants.FieldSECONDSA constant that represents the seconds field.static intSEPTEMBERValue for ninth month of year.static QNameTIMEFully qualified name for W3C XML Schema 1.0 datatypetime.static DatatypeConstants.FieldYEARSA constant that represents the years field.
- 
Method Summary
- 
Field Details- 
JANUARYpublic static final int JANUARYValue for first month of year.- See Also:
- Constant Field Values
 
- 
FEBRUARYpublic static final int FEBRUARYValue for second month of year.- See Also:
- Constant Field Values
 
- 
MARCHpublic static final int MARCHValue for third month of year.- See Also:
- Constant Field Values
 
- 
APRILpublic static final int APRILValue for fourth month of year.- See Also:
- Constant Field Values
 
- 
MAYpublic static final int MAYValue for fifth month of year.- See Also:
- Constant Field Values
 
- 
JUNEpublic static final int JUNEValue for sixth month of year.- See Also:
- Constant Field Values
 
- 
JULYpublic static final int JULYValue for seventh month of year.- See Also:
- Constant Field Values
 
- 
AUGUSTpublic static final int AUGUSTValue for eighth month of year.- See Also:
- Constant Field Values
 
- 
SEPTEMBERpublic static final int SEPTEMBERValue for ninth month of year.- See Also:
- Constant Field Values
 
- 
OCTOBERpublic static final int OCTOBERValue for tenth month of year.- See Also:
- Constant Field Values
 
- 
NOVEMBERpublic static final int NOVEMBERValue for eleven month of year.- See Also:
- Constant Field Values
 
- 
DECEMBERpublic static final int DECEMBERValue for twelve month of year.- See Also:
- Constant Field Values
 
- 
LESSERpublic static final int LESSERComparison result. - See Also:
- Constant Field Values
 
- 
EQUALpublic static final int EQUALComparison result. - See Also:
- Constant Field Values
 
- 
GREATERpublic static final int GREATERComparison result. - See Also:
- Constant Field Values
 
- 
INDETERMINATEpublic static final int INDETERMINATEComparison result. - See Also:
- Constant Field Values
 
- 
FIELD_UNDEFINEDpublic static final int FIELD_UNDEFINEDDesignation that an "int" field is not set.- See Also:
- Constant Field Values
 
- 
YEARSA constant that represents the years field. 
- 
MONTHSA constant that represents the months field. 
- 
DAYSA constant that represents the days field. 
- 
HOURSA constant that represents the hours field. 
- 
MINUTESA constant that represents the minutes field. 
- 
SECONDSA constant that represents the seconds field. 
- 
DATETIMEFully qualified name for W3C XML Schema 1.0 datatype dateTime.
- 
TIMEFully qualified name for W3C XML Schema 1.0 datatype time.
- 
DATEFully qualified name for W3C XML Schema 1.0 datatype date.
- 
GYEARMONTHFully qualified name for W3C XML Schema 1.0 datatype gYearMonth.
- 
GMONTHDAYFully qualified name for W3C XML Schema 1.0 datatype gMonthDay.
- 
GYEARFully qualified name for W3C XML Schema 1.0 datatype gYear.
- 
GMONTHFully qualified name for W3C XML Schema 1.0 datatype gMonth.
- 
GDAYFully qualified name for W3C XML Schema 1.0 datatype gDay.
- 
DURATIONFully qualified name for W3C XML Schema datatype duration.
- 
DURATION_DAYTIMEFully qualified name for XQuery 1.0 and XPath 2.0 datatype dayTimeDuration.
- 
DURATION_YEARMONTHFully qualified name for XQuery 1.0 and XPath 2.0 datatype yearMonthDuration.
- 
MAX_TIMEZONE_OFFSETpublic static final int MAX_TIMEZONE_OFFSETW3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.- See Also:
- Constant Field Values
 
- 
MIN_TIMEZONE_OFFSETpublic static final int MIN_TIMEZONE_OFFSETW3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.- See Also:
- Constant Field Values
 
 
-