javax.xml.datatype
Class DatatypeConstants

java.lang.Object
  extended by javax.xml.datatype.DatatypeConstants

public final class DatatypeConstants
extends Object

Basic data type constants.

Since:
1.5

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 int MIN_TIMEZONE_OFFSET
          XML Schema minimum timezone offset, in minutes.
static DatatypeConstants.Field MINUTES
          Constant that represents the minutes field.
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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JANUARY

public static final int JANUARY
Value for January.

See Also:
Constant Field Values

FEBRUARY

public static final int FEBRUARY
Value for February.

See Also:
Constant Field Values

MARCH

public static final int MARCH
Value for March.

See Also:
Constant Field Values

APRIL

public static final int APRIL
Value for April.

See Also:
Constant Field Values

MAY

public static final int MAY
Value for May.

See Also:
Constant Field Values

JUNE

public static final int JUNE
Value for June.

See Also:
Constant Field Values

JULY

public static final int JULY
Value for July.

See Also:
Constant Field Values

AUGUST

public static final int AUGUST
Value for August.

See Also:
Constant Field Values

SEPTEMBER

public static final int SEPTEMBER
Value for September.

See Also:
Constant Field Values

OCTOBER

public static final int OCTOBER
Value for October.

See Also:
Constant Field Values

NOVEMBER

public static final int NOVEMBER
Value for November.

See Also:
Constant Field Values

DECEMBER

public static final int DECEMBER
Value for December.

See Also:
Constant Field Values

LESSER

public static final int LESSER
Comparison result.

See Also:
Constant Field Values

EQUAL

public static final int EQUAL
Comparison result.

See Also:
Constant Field Values

GREATER

public static final int GREATER
Comparison result.

See Also:
Constant Field Values

INDETERMINATE

public static final int INDETERMINATE
Comparison result.

See Also:
Constant Field Values

FIELD_UNDEFINED

public static final int FIELD_UNDEFINED
Comparison result.

See Also:
Constant Field Values

YEARS

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


MONTHS

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


DAYS

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


HOURS

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


MINUTES

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


SECONDS

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


DATETIME

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


TIME

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


DATE

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


GYEARMONTH

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


GMONTHDAY

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


GYEAR

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


GMONTH

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


GDAY

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


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.


MAX_TIMEZONE_OFFSET

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

See Also:
Constant Field Values

MIN_TIMEZONE_OFFSET

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

See Also:
Constant Field Values