java.lang.Object | |
↳ | javax.xml.datatype.DatatypeConstants |
Utility class to contain basic Datatype values as constants.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
DatatypeConstants.Field |
Type-safe enum class that represents six fields
of the
Duration
class.
|
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
DATE |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
DATETIME |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
DAYS |
A constant that represents the days field. |
|||||||||
|
DURATION |
Fully qualified name for W3C XML Schema datatype
|
|||||||||
|
DURATION_DAYTIME |
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype
|
|||||||||
|
DURATION_YEARMONTH |
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype
|
|||||||||
|
GDAY |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
GMONTH |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
GMONTHDAY |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
GYEAR |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
GYEARMONTH |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
HOURS |
A constant that represents the hours field. |
|||||||||
|
MINUTES |
A constant that represents the minutes field. |
|||||||||
|
MONTHS |
A constant that represents the months field. |
|||||||||
|
SECONDS |
A constant that represents the seconds field. |
|||||||||
|
TIME |
Fully qualified name for W3C XML Schema 1.0 datatype
|
|||||||||
|
YEARS |
A constant that represents the years field. |
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Value for fourth month of year.
Value for eighth month of year.
Value for twelve month of year.
Comparison result.
Value for second month of year.
Designation that an "int" field is not set.
Comparison result.
Comparison result.
Value for first month of year.
Value for seventh month of year.
Value for sixth month of year.
Comparison result.
Value for third month of year.
W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.
Value for fifth month of year.
W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.
Value for eleven month of year.
Value for tenth month of year.
Value for ninth month of year.
Fully qualified name for W3C XML Schema 1.0 datatype
date
.
Fully qualified name for W3C XML Schema 1.0 datatype
dateTime
.
A constant that represents the days field.
Fully qualified name for W3C XML Schema datatype
duration
.
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype
dayTimeDuration
.
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype
yearMonthDuration
.
Fully qualified name for W3C XML Schema 1.0 datatype
gDay
.
Fully qualified name for W3C XML Schema 1.0 datatype
gMonth
.
Fully qualified name for W3C XML Schema 1.0 datatype
gMonthDay
.
Fully qualified name for W3C XML Schema 1.0 datatype
gYear
.
Fully qualified name for W3C XML Schema 1.0 datatype
gYearMonth
.
A constant that represents the hours field.
A constant that represents the minutes field.
A constant that represents the months field.
A constant that represents the seconds field.
Fully qualified name for W3C XML Schema 1.0 datatype
time
.
A constant that represents the years field.