- java.lang.Object
- 
- javax.xml.datatype.DatatypeConstants
 
- 
 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.
 
- 
- 
- 
Field Detail- 
JANUARYpublic static final int JANUARY Value for first month of year.- See Also:
- Constant Field Values
 
 - 
FEBRUARYpublic static final int FEBRUARY Value for second month of year.- See Also:
- Constant Field Values
 
 - 
MARCHpublic static final int MARCH Value for third month of year.- See Also:
- Constant Field Values
 
 - 
APRILpublic static final int APRIL Value for fourth month of year.- See Also:
- Constant Field Values
 
 - 
MAYpublic static final int MAY Value for fifth month of year.- See Also:
- Constant Field Values
 
 - 
JUNEpublic static final int JUNE Value for sixth month of year.- See Also:
- Constant Field Values
 
 - 
JULYpublic static final int JULY Value for seventh month of year.- See Also:
- Constant Field Values
 
 - 
AUGUSTpublic static final int AUGUST Value for eighth month of year.- See Also:
- Constant Field Values
 
 - 
SEPTEMBERpublic static final int SEPTEMBER Value for ninth month of year.- See Also:
- Constant Field Values
 
 - 
OCTOBERpublic static final int OCTOBER Value for tenth month of year.- See Also:
- Constant Field Values
 
 - 
NOVEMBERpublic static final int NOVEMBER Value for eleven month of year.- See Also:
- Constant Field Values
 
 - 
DECEMBERpublic static final int DECEMBER Value for twelve month of year.- See Also:
- Constant Field Values
 
 - 
LESSERpublic static final int LESSER Comparison result. - See Also:
- Constant Field Values
 
 - 
EQUALpublic static final int EQUAL Comparison result. - See Also:
- Constant Field Values
 
 - 
GREATERpublic static final int GREATER Comparison result. - See Also:
- Constant Field Values
 
 - 
INDETERMINATEpublic static final int INDETERMINATE Comparison result. - See Also:
- Constant Field Values
 
 - 
FIELD_UNDEFINEDpublic static final int FIELD_UNDEFINED Designation that an "int" field is not set.- See Also:
- Constant Field Values
 
 - 
YEARSpublic static final DatatypeConstants.Field YEARS A constant that represents the years field. 
 - 
MONTHSpublic static final DatatypeConstants.Field MONTHS A constant that represents the months field. 
 - 
DAYSpublic static final DatatypeConstants.Field DAYS A constant that represents the days field. 
 - 
HOURSpublic static final DatatypeConstants.Field HOURS A constant that represents the hours field. 
 - 
MINUTESpublic static final DatatypeConstants.Field MINUTES A constant that represents the minutes field. 
 - 
SECONDSpublic static final DatatypeConstants.Field SECONDS A constant that represents the seconds field. 
 - 
DATETIMEpublic static final QName DATETIME Fully qualified name for W3C XML Schema 1.0 datatype dateTime.
 - 
TIMEpublic static final QName TIME Fully qualified name for W3C XML Schema 1.0 datatype time.
 - 
DATEpublic static final QName DATE Fully qualified name for W3C XML Schema 1.0 datatype date.
 - 
GYEARMONTHpublic static final QName GYEARMONTH Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth.
 - 
GMONTHDAYpublic static final QName GMONTHDAY Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay.
 - 
GYEARpublic static final QName GYEAR Fully qualified name for W3C XML Schema 1.0 datatype gYear.
 - 
GMONTHpublic static final QName GMONTH Fully qualified name for W3C XML Schema 1.0 datatype gMonth.
 - 
GDAYpublic static final QName GDAY Fully qualified name for W3C XML Schema 1.0 datatype gDay.
 - 
DURATIONpublic static final QName DURATION Fully qualified name for W3C XML Schema datatype duration.
 - 
DURATION_DAYTIMEpublic static final QName DURATION_DAYTIME Fully qualified name for XQuery 1.0 and XPath 2.0 datatype dayTimeDuration.
 - 
DURATION_YEARMONTHpublic static final QName DURATION_YEARMONTH Fully qualified name for XQuery 1.0 and XPath 2.0 datatype yearMonthDuration.
 - 
MAX_TIMEZONE_OFFSETpublic static final int MAX_TIMEZONE_OFFSET W3C 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_OFFSET W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.- See Also:
- Constant Field Values
 
 
- 
 
-