FileDocCategorySizeDatePackage
DatatypeConstants.javaAPI DocJava SE 6 API7305Tue Jun 10 00:27:08 BST 2008javax.xml.datatype

DatatypeConstants

public final class DatatypeConstants extends Object

Utility class to contain basic Datatype values as constants.

author
Jeff Suttor
version
$Revision: 1.4 $, $Date: 2006/01/24 01:23:06 $
since
1.5

Fields Summary
public static final int
JANUARY
Value for first month of year.
public static final int
FEBRUARY
Value for second month of year.
public static final int
MARCH
Value for third month of year.
public static final int
APRIL
Value for fourth month of year.
public static final int
MAY
Value for fifth month of year.
public static final int
JUNE
Value for sixth month of year.
public static final int
JULY
Value for seventh month of year.
public static final int
AUGUST
Value for eighth month of year.
public static final int
SEPTEMBER
Value for ninth month of year.
public static final int
OCTOBER
Value for tenth month of year.
public static final int
NOVEMBER
Value for eleven month of year.
public static final int
DECEMBER
Value for twelve month of year.
public static final int
LESSER

Comparison result.

public static final int
EQUAL

Comparison result.

public static final int
GREATER

Comparison result.

public static final int
INDETERMINATE

Comparison result.

public static final int
FIELD_UNDEFINED
Designation that an "int" field is not set.
public static final Field
YEARS

A constant that represents the years field.

public static final Field
MONTHS

A constant that represents the months field.

public static final Field
DAYS

A constant that represents the days field.

public static final Field
HOURS

A constant that represents the hours field.

public static final Field
MINUTES

A constant that represents the minutes field.

public static final Field
SECONDS

A constant that represents the seconds field.

public static final QName
DATETIME

Fully qualified name for W3C XML Schema 1.0 datatype dateTime.

public static final QName
TIME

Fully qualified name for W3C XML Schema 1.0 datatype time.

public static final QName
DATE

Fully qualified name for W3C XML Schema 1.0 datatype date.

public static final QName
GYEARMONTH

Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth.

public static final QName
GMONTHDAY

Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay.

public static final QName
GYEAR

Fully qualified name for W3C XML Schema 1.0 datatype gYear.

public static final QName
GMONTH

Fully qualified name for W3C XML Schema 1.0 datatype gMonth.

public static final QName
GDAY

Fully qualified name for W3C XML Schema 1.0 datatype gDay.

public static final QName
DURATION

Fully qualified name for W3C XML Schema datatype duration.

public static final QName
DURATION_DAYTIME

Fully qualified name for XQuery 1.0 and XPath 2.0 datatype dayTimeDuration.

public static final QName
DURATION_YEARMONTH

Fully qualified name for XQuery 1.0 and XPath 2.0 datatype yearMonthDuration.

public static final int
MAX_TIMEZONE_OFFSET
W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.
public static final int
MIN_TIMEZONE_OFFSET
W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.
Constructors Summary
private DatatypeConstants()

Private constructor to prevent instantiation.

	
Methods Summary