DatatypeConstants
public
final
class
DatatypeConstants
extends Object
java.lang.Object | |
↳ | javax.xml.datatype.DatatypeConstants |
Utility class to contain basic Datatype values as constants.
Summary
Nested classes | |
---|---|
class |
DatatypeConstants.Field
Type-safe enum class that represents six fields
of the |
Constants | |
---|---|
int |
APRIL
Value for fourth month of year. |
int |
AUGUST
Value for eighth month of year. |
int |
DECEMBER
Value for twelve month of year. |
int |
EQUAL
Comparison result. |
int |
FEBRUARY
Value for second month of year. |
int |
FIELD_UNDEFINED
Designation that an "int" field is not set. |
int |
GREATER
Comparison result. |
int |
INDETERMINATE
Comparison result. |
int |
JANUARY
Value for first month of year. |
int |
JULY
Value for seventh month of year. |
int |
JUNE
Value for sixth month of year. |
int |
LESSER
Comparison result. |
int |
MARCH
Value for third month of year. |
int |
MAX_TIMEZONE_OFFSET
W3C XML Schema max timezone offset is -14:00. |
int |
MAY
Value for fifth month of year. |
int |
MIN_TIMEZONE_OFFSET
W3C XML Schema min timezone offset is +14:00. |
int |
NOVEMBER
Value for eleven month of year. |
int |
OCTOBER
Value for tenth month of year. |
int |
SEPTEMBER
Value for ninth month of year. |
Fields | |
---|---|
public
static
final
QName |
DATE
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
QName |
DATETIME
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
DatatypeConstants.Field |
DAYS
A constant that represents the days field. |
public
static
final
QName |
DURATION
Fully qualified name for W3C XML Schema datatype |
public
static
final
QName |
DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype |
public
static
final
QName |
DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype |
public
static
final
QName |
GDAY
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
QName |
GMONTH
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
QName |
GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
QName |
GYEAR
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
QName |
GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
DatatypeConstants.Field |
HOURS
A constant that represents the hours field. |
public
static
final
DatatypeConstants.Field |
MINUTES
A constant that represents the minutes field. |
public
static
final
DatatypeConstants.Field |
MONTHS
A constant that represents the months field. |
public
static
final
DatatypeConstants.Field |
SECONDS
A constant that represents the seconds field. |
public
static
final
QName |
TIME
Fully qualified name for W3C XML Schema 1.0 datatype |
public
static
final
DatatypeConstants.Field |
YEARS
A constant that represents the years field. |
Inherited methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Constants
APRIL
public static final int APRIL
Value for fourth month of year.
Constant Value: 4 (0x00000004)
AUGUST
public static final int AUGUST
Value for eighth month of year.
Constant Value: 8 (0x00000008)
DECEMBER
public static final int DECEMBER
Value for twelve month of year.
Constant Value: 12 (0x0000000c)
EQUAL
public static final int EQUAL
Comparison result.
Constant Value: 0 (0x00000000)
FEBRUARY
public static final int FEBRUARY
Value for second month of year.
Constant Value: 2 (0x00000002)
FIELD_UNDEFINED
public static final int FIELD_UNDEFINED
Designation that an "int" field is not set.
Constant Value: -2147483648 (0x80000000)
GREATER
public static final int GREATER
Comparison result.
Constant Value: 1 (0x00000001)
INDETERMINATE
public static final int INDETERMINATE
Comparison result.
Constant Value: 2 (0x00000002)
JANUARY
public static final int JANUARY
Value for first month of year.
Constant Value: 1 (0x00000001)
JULY
public static final int JULY
Value for seventh month of year.
Constant Value: 7 (0x00000007)
JUNE
public static final int JUNE
Value for sixth month of year.
Constant Value: 6 (0x00000006)
LESSER
public static final int LESSER
Comparison result.
Constant Value: -1 (0xffffffff)
MARCH
public static final int MARCH
Value for third month of year.
Constant Value: 3 (0x00000003)
MAX_TIMEZONE_OFFSET
public static final int MAX_TIMEZONE_OFFSET
W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.
Constant Value: -840 (0xfffffcb8)
MAY
public static final int MAY
Value for fifth month of year.
Constant Value: 5 (0x00000005)
MIN_TIMEZONE_OFFSET
public static final int MIN_TIMEZONE_OFFSET
W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.
Constant Value: 840 (0x00000348)
NOVEMBER
public static final int NOVEMBER
Value for eleven month of year.
Constant Value: 11 (0x0000000b)
OCTOBER
public static final int OCTOBER
Value for tenth month of year.
Constant Value: 10 (0x0000000a)
SEPTEMBER
public static final int SEPTEMBER
Value for ninth month of year.
Constant Value: 9 (0x00000009)
Fields
DATE
public static final QName DATE
Fully qualified name for W3C XML Schema 1.0 datatype date
.
DATETIME
public static final QName DATETIME
Fully qualified name for W3C XML Schema 1.0 datatype dateTime
.
DAYS
public static final DatatypeConstants.Field DAYS
A constant that represents the days field.
DURATION
public static final QName DURATION
Fully qualified name for W3C XML Schema datatype duration
.
DURATION_DAYTIME
public static final QName DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype dayTimeDuration
.
DURATION_YEARMONTH
public static final QName DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype yearMonthDuration
.
GDAY
public static final QName GDAY
Fully qualified name for W3C XML Schema 1.0 datatype gDay
.
GMONTH
public static final QName GMONTH
Fully qualified name for W3C XML Schema 1.0 datatype gMonth
.
GMONTHDAY
public static final QName GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay
.
GYEAR
public static final QName GYEAR
Fully qualified name for W3C XML Schema 1.0 datatype gYear
.
GYEARMONTH
public static final QName GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth
.
HOURS
public static final DatatypeConstants.Field HOURS
A constant that represents the hours field.
MINUTES
public static final DatatypeConstants.Field MINUTES
A constant that represents the minutes field.
MONTHS
public static final DatatypeConstants.Field MONTHS
A constant that represents the months field.
SECONDS
public static final DatatypeConstants.Field SECONDS
A constant that represents the seconds field.
TIME
public static final QName TIME
Fully qualified name for W3C XML Schema 1.0 datatype time
.
YEARS
public static final DatatypeConstants.Field YEARS
A constant that represents the years field.