Module java.xml

Class DatatypeConstants



  • public final class DatatypeConstants
    extends Object

    Utility class to contain basic Datatype values as constants.

    Since:
    1.5
    • Field Detail

      • JANUARY

        public static final int JANUARY
        Value for first month of year.
        See Also:
        Constant Field Values
      • FEBRUARY

        public static final int FEBRUARY
        Value for second month of year.
        See Also:
        Constant Field Values
      • SEPTEMBER

        public static final int SEPTEMBER
        Value for ninth month of year.
        See Also:
        Constant Field Values
      • OCTOBER

        public static final int OCTOBER
        Value for tenth month of year.
        See Also:
        Constant Field Values
      • NOVEMBER

        public static final int NOVEMBER
        Value for eleven month of year.
        See Also:
        Constant Field Values
      • DECEMBER

        public static final int DECEMBER
        Value for twelve month of year.
        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
        Designation that an "int" field is not set.
        See Also:
        Constant Field Values
      • DATETIME

        public static final QName DATETIME

        Fully qualified name for W3C XML Schema 1.0 datatype dateTime.

      • TIME

        public static final QName TIME

        Fully qualified name for W3C XML Schema 1.0 datatype time.

      • DATE

        public static final QName DATE

        Fully qualified name for W3C XML Schema 1.0 datatype date.

      • GYEARMONTH

        public static final QName GYEARMONTH

        Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth.

      • GMONTHDAY

        public static final QName GMONTHDAY

        Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay.

      • GYEAR

        public static final QName GYEAR

        Fully qualified name for W3C XML Schema 1.0 datatype gYear.

      • GMONTH

        public static final QName GMONTH

        Fully qualified name for W3C XML Schema 1.0 datatype gMonth.

      • GDAY

        public static final QName GDAY

        Fully qualified name for W3C XML Schema 1.0 datatype gDay.

      • DURATION

        public static final QName DURATION

        Fully qualified name for W3C XML Schema datatype duration.

      • DURATION_DAYTIME

        public static final QName DURATION_DAYTIME

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

      • DURATION_YEARMONTH

        public static final QName DURATION_YEARMONTH

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

      • MAX_TIMEZONE_OFFSET

        public static final int MAX_TIMEZONE_OFFSET
        W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.
        See Also:
        Constant Field Values
      • MIN_TIMEZONE_OFFSET

        public static final int MIN_TIMEZONE_OFFSET
        W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.
        See Also:
        Constant Field Values