javax.xml.datatype

Class DatatypeConstants


public final class DatatypeConstants
extends java.lang.Object

Basic data type constants.

Since:
1.3

Nested Class Summary

static class
DatatypeConstants.Field
Typesafe enumerated class representing the six fields of the Duration class.

Field Summary

static int
APRIL
Value for April.
static int
AUGUST
Value for August.
static QName
DATE
The qualified-name for the date data type.
static QName
DATETIME
The qualified-name for the dateTime data type.
static DatatypeConstants.Field
DAYS
Constant that represents the days field.
static int
DECEMBER
Value for December.
static QName
DURATION
The qualified-name for the duration data type.
static QName
DURATION_DAYTIME
The qualified-name for the dayTimeDuration data type.
static QName
DURATION_YEARMONTH
The qualified-name for the yearMonthDuration data type.
static int
EQUAL
Comparison result.
static int
FEBRUARY
Value for February.
static int
FIELD_UNDEFINED
Comparison result.
static QName
GDAY
The qualified-name for the gDay data type.
static QName
GMONTH
The qualified-name for the gMonth data type.
static QName
GMONTHDAY
The qualified-name for the gMonthDay data type.
static int
GREATER
Comparison result.
static QName
GYEAR
The qualified-name for the gYear data type.
static QName
GYEARMONTH
The qualified-name for the gYearMonth data type.
static DatatypeConstants.Field
HOURS
Constant that represents the hours field.
static int
INDETERMINATE
Comparison result.
static int
JANUARY
Value for January.
static int
JULY
Value for July.
static int
JUNE
Value for June.
static int
LESSER
Comparison result.
static int
MARCH
Value for March.
static int
MAX_TIMEZONE_OFFSET
XML Schema maximum timezone offset, in minutes.
static int
MAY
Value for May.
static DatatypeConstants.Field
MINUTES
Constant that represents the minutes field.
static int
MIN_TIMEZONE_OFFSET
XML Schema minimum timezone offset, in minutes.
static DatatypeConstants.Field
MONTHS
Constant that represents the months field.
static int
NOVEMBER
Value for November.
static int
OCTOBER
Value for October.
static DatatypeConstants.Field
SECONDS
Constant that represents the seconds field.
static int
SEPTEMBER
Value for September.
static QName
TIME
The qualified-name for the time data type.
static DatatypeConstants.Field
YEARS
Constant that represents the years field.

Field Details

APRIL

public static final int APRIL
Value for April.

Field Value:
4


AUGUST

public static final int AUGUST
Value for August.

Field Value:
8


DATE

public static final QName DATE
The qualified-name for the date data type.


DATETIME

public static final QName DATETIME
The qualified-name for the dateTime data type.


DAYS

public static final DatatypeConstants.Field DAYS
Constant that represents the days field.


DECEMBER

public static final int DECEMBER
Value for December.

Field Value:
12


DURATION

public static final QName DURATION
The qualified-name for the duration data type.


DURATION_DAYTIME

public static final QName DURATION_DAYTIME
The qualified-name for the dayTimeDuration data type.


DURATION_YEARMONTH

public static final QName DURATION_YEARMONTH
The qualified-name for the yearMonthDuration data type.


EQUAL

public static final int EQUAL
Comparison result.

Field Value:
0


FEBRUARY

public static final int FEBRUARY
Value for February.

Field Value:
2


FIELD_UNDEFINED

public static final int FIELD_UNDEFINED
Comparison result.

Field Value:
-2147483648


GDAY

public static final QName GDAY
The qualified-name for the gDay data type.


GMONTH

public static final QName GMONTH
The qualified-name for the gMonth data type.


GMONTHDAY

public static final QName GMONTHDAY
The qualified-name for the gMonthDay data type.


GREATER

public static final int GREATER
Comparison result.

Field Value:
1


GYEAR

public static final QName GYEAR
The qualified-name for the gYear data type.


GYEARMONTH

public static final QName GYEARMONTH
The qualified-name for the gYearMonth data type.


HOURS

public static final DatatypeConstants.Field HOURS
Constant that represents the hours field.


INDETERMINATE

public static final int INDETERMINATE
Comparison result.

Field Value:
2


JANUARY

public static final int JANUARY
Value for January.

Field Value:
1


JULY

public static final int JULY
Value for July.

Field Value:
7


JUNE

public static final int JUNE
Value for June.

Field Value:
6


LESSER

public static final int LESSER
Comparison result.

Field Value:
-1


MARCH

public static final int MARCH
Value for March.

Field Value:
3


MAX_TIMEZONE_OFFSET

public static final int MAX_TIMEZONE_OFFSET
XML Schema maximum timezone offset, in minutes.

Field Value:
-840


MAY

public static final int MAY
Value for May.

Field Value:
5


MINUTES

public static final DatatypeConstants.Field MINUTES
Constant that represents the minutes field.


MIN_TIMEZONE_OFFSET

public static final int MIN_TIMEZONE_OFFSET
XML Schema minimum timezone offset, in minutes.

Field Value:
840


MONTHS

public static final DatatypeConstants.Field MONTHS
Constant that represents the months field.


NOVEMBER

public static final int NOVEMBER
Value for November.

Field Value:
11


OCTOBER

public static final int OCTOBER
Value for October.

Field Value:
10


SECONDS

public static final DatatypeConstants.Field SECONDS
Constant that represents the seconds field.


SEPTEMBER

public static final int SEPTEMBER
Value for September.

Field Value:
9


TIME

public static final QName TIME
The qualified-name for the time data type.


YEARS

public static final DatatypeConstants.Field YEARS
Constant that represents the years field.