javax.xml.datatype

Class DatatypeConstants

public final class DatatypeConstants extends Object

Basic data type constants.

Since: 1.5

Nested Class Summary
static classDatatypeConstants.Field
Typesafe enumerated class representing the six fields of the Duration class.
Field Summary
static intAPRIL
Value for April.
static intAUGUST
Value for August.
static QNameDATE
The qualified-name for the date data type.
static QNameDATETIME
The qualified-name for the dateTime data type.
static DatatypeConstants.FieldDAYS
Constant that represents the days field.
static intDECEMBER
Value for December.
static QNameDURATION
The qualified-name for the duration data type.
static QNameDURATION_DAYTIME
The qualified-name for the dayTimeDuration data type.
static QNameDURATION_YEARMONTH
The qualified-name for the yearMonthDuration data type.
static intEQUAL
Comparison result.
static intFEBRUARY
Value for February.
static intFIELD_UNDEFINED
Comparison result.
static QNameGDAY
The qualified-name for the gDay data type.
static QNameGMONTH
The qualified-name for the gMonth data type.
static QNameGMONTHDAY
The qualified-name for the gMonthDay data type.
static intGREATER
Comparison result.
static QNameGYEAR
The qualified-name for the gYear data type.
static QNameGYEARMONTH
The qualified-name for the gYearMonth data type.
static DatatypeConstants.FieldHOURS
Constant that represents the hours field.
static intINDETERMINATE
Comparison result.
static intJANUARY
Value for January.
static intJULY
Value for July.
static intJUNE
Value for June.
static intLESSER
Comparison result.
static intMARCH
Value for March.
static intMAX_TIMEZONE_OFFSET
XML Schema maximum timezone offset, in minutes.
static intMAY
Value for May.
static DatatypeConstants.FieldMINUTES
Constant that represents the minutes field.
static intMIN_TIMEZONE_OFFSET
XML Schema minimum timezone offset, in minutes.
static DatatypeConstants.FieldMONTHS
Constant that represents the months field.
static intNOVEMBER
Value for November.
static intOCTOBER
Value for October.
static DatatypeConstants.FieldSECONDS
Constant that represents the seconds field.
static intSEPTEMBER
Value for September.
static QNameTIME
The qualified-name for the time data type.
static DatatypeConstants.FieldYEARS
Constant that represents the years field.

Field Detail

APRIL

public static final int APRIL
Value for April.

AUGUST

public static final int AUGUST
Value for August.

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.

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.

FEBRUARY

public static final int FEBRUARY
Value for February.

FIELD_UNDEFINED

public static final int FIELD_UNDEFINED
Comparison result.

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.

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.

JANUARY

public static final int JANUARY
Value for January.

JULY

public static final int JULY
Value for July.

JUNE

public static final int JUNE
Value for June.

LESSER

public static final int LESSER
Comparison result.

MARCH

public static final int MARCH
Value for March.

MAX_TIMEZONE_OFFSET

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

MAY

public static final int MAY
Value for May.

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.

MONTHS

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

NOVEMBER

public static final int NOVEMBER
Value for November.

OCTOBER

public static final int OCTOBER
Value for October.

SECONDS

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

SEPTEMBER

public static final int SEPTEMBER
Value for September.

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.