public final class DatatypeConstants extends Object
Utility class to contain basic Datatype values as constants.
- Since:
- 1.5
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatatypeConstants.Field
Type-safe enum class that represents six fields of theDuration
class. -
Field Summary
Fields Modifier and Type Field Description static int
APRIL
Value for fourth month of year.static int
AUGUST
Value for eighth month of year.static QName
DATE
Fully qualified name for W3C XML Schema 1.0 datatypedate
.static QName
DATETIME
Fully qualified name for W3C XML Schema 1.0 datatypedateTime
.static DatatypeConstants.Field
DAYS
A constant that represents the days field.static int
DECEMBER
Value for twelve month of year.static QName
DURATION
Fully qualified name for W3C XML Schema datatypeduration
.static QName
DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatypedayTimeDuration
.static QName
DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatypeyearMonthDuration
.static int
EQUAL
Comparison result.static int
FEBRUARY
Value for second month of year.static int
FIELD_UNDEFINED
Designation that an "int" field is not set.static QName
GDAY
Fully qualified name for W3C XML Schema 1.0 datatypegDay
.static QName
GMONTH
Fully qualified name for W3C XML Schema 1.0 datatypegMonth
.static QName
GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatypegMonthDay
.static int
GREATER
Comparison result.static QName
GYEAR
Fully qualified name for W3C XML Schema 1.0 datatypegYear
.static QName
GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatypegYearMonth
.static DatatypeConstants.Field
HOURS
A constant that represents the hours field.static int
INDETERMINATE
Comparison result.static int
JANUARY
Value for first month of year.static int
JULY
Value for seventh month of year.static int
JUNE
Value for sixth month of year.static int
LESSER
Comparison result.static int
MARCH
Value for third month of year.static int
MAX_TIMEZONE_OFFSET
W3C XML Schema max timezone offset is -14:00.static int
MAY
Value for fifth month of year.static int
MIN_TIMEZONE_OFFSET
W3C XML Schema min timezone offset is +14:00.static DatatypeConstants.Field
MINUTES
A constant that represents the minutes field.static DatatypeConstants.Field
MONTHS
A constant that represents the months field.static int
NOVEMBER
Value for eleven month of year.static int
OCTOBER
Value for tenth month of year.static DatatypeConstants.Field
SECONDS
A constant that represents the seconds field.static int
SEPTEMBER
Value for ninth month of year.static QName
TIME
Fully qualified name for W3C XML Schema 1.0 datatypetime
.static DatatypeConstants.Field
YEARS
A constant that represents the years field. -
Method Summary
-
Field Details
-
JANUARY
public static final int JANUARYValue for first month of year.- See Also:
- Constant Field Values
-
FEBRUARY
public static final int FEBRUARYValue for second month of year.- See Also:
- Constant Field Values
-
MARCH
public static final int MARCHValue for third month of year.- See Also:
- Constant Field Values
-
APRIL
public static final int APRILValue for fourth month of year.- See Also:
- Constant Field Values
-
MAY
public static final int MAYValue for fifth month of year.- See Also:
- Constant Field Values
-
JUNE
public static final int JUNEValue for sixth month of year.- See Also:
- Constant Field Values
-
JULY
public static final int JULYValue for seventh month of year.- See Also:
- Constant Field Values
-
AUGUST
public static final int AUGUSTValue for eighth month of year.- See Also:
- Constant Field Values
-
SEPTEMBER
public static final int SEPTEMBERValue for ninth month of year.- See Also:
- Constant Field Values
-
OCTOBER
public static final int OCTOBERValue for tenth month of year.- See Also:
- Constant Field Values
-
NOVEMBER
public static final int NOVEMBERValue for eleven month of year.- See Also:
- Constant Field Values
-
DECEMBER
public static final int DECEMBERValue for twelve month of year.- See Also:
- Constant Field Values
-
LESSER
public static final int LESSERComparison result.
- See Also:
- Constant Field Values
-
EQUAL
public static final int EQUALComparison result.
- See Also:
- Constant Field Values
-
GREATER
public static final int GREATERComparison result.
- See Also:
- Constant Field Values
-
INDETERMINATE
public static final int INDETERMINATEComparison result.
- See Also:
- Constant Field Values
-
FIELD_UNDEFINED
public static final int FIELD_UNDEFINEDDesignation that an "int" field is not set.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-