Added in API level 8

DatatypeConstants

class DatatypeConstants
kotlin.Any
   ↳ javax.xml.datatype.DatatypeConstants

Utility class to contain basic Datatype values as constants.

Summary

Nested classes

Type-safe enum class that represents six fields of the Duration class.

Constants
static Int

Value for fourth month of year.

static Int

Value for eighth month of year.

static Int

Value for twelve month of year.

static Int

Comparison result.

static Int

Value for second month of year.

static Int

Designation that an "int" field is not set.

static Int

Comparison result.

static Int

Comparison result.

static Int

Value for first month of year.

static Int

Value for seventh month of year.

static Int

Value for sixth month of year.

static Int

Comparison result.

static Int

Value for third month of year.

static Int

W3C XML Schema max timezone offset is -14:00.

static Int

Value for fifth month of year.

static Int

W3C XML Schema min timezone offset is +14:00.

static Int

Value for eleven month of year.

static Int

Value for tenth month of year.

static Int

Value for ninth month of year.

Properties
static QName!

Fully qualified name for W3C XML Schema 1.

static QName!

Fully qualified name for W3C XML Schema 1.

static DatatypeConstants.Field!

A constant that represents the days field.

static QName!

Fully qualified name for W3C XML Schema datatype duration.

static QName!

Fully qualified name for XQuery 1.

static QName!

Fully qualified name for XQuery 1.

static QName!

Fully qualified name for W3C XML Schema 1.

static QName!

Fully qualified name for W3C XML Schema 1.

static QName!

Fully qualified name for W3C XML Schema 1.

static QName!

Fully qualified name for W3C XML Schema 1.

static QName!

Fully qualified name for W3C XML Schema 1.

static DatatypeConstants.Field!

A constant that represents the hours field.

static DatatypeConstants.Field!

A constant that represents the minutes field.

static DatatypeConstants.Field!

A constant that represents the months field.

static DatatypeConstants.Field!

A constant that represents the seconds field.

static QName!

Fully qualified name for W3C XML Schema 1.

static DatatypeConstants.Field!

A constant that represents the years field.

Constants

APRIL

Added in API level 8
static val APRIL: Int

Value for fourth month of year.

Value: 4

AUGUST

Added in API level 8
static val AUGUST: Int

Value for eighth month of year.

Value: 8

DECEMBER

Added in API level 8
static val DECEMBER: Int

Value for twelve month of year.

Value: 12

EQUAL

Added in API level 8
static val EQUAL: Int

Comparison result.

Value: 0

FEBRUARY

Added in API level 8
static val FEBRUARY: Int

Value for second month of year.

Value: 2

FIELD_UNDEFINED

Added in API level 8
static val FIELD_UNDEFINED: Int

Designation that an "int" field is not set.

Value: -2147483648

GREATER

Added in API level 8
static val GREATER: Int

Comparison result.

Value: 1

INDETERMINATE

Added in API level 8
static val INDETERMINATE: Int

Comparison result.

Value: 2

JANUARY

Added in API level 8
static val JANUARY: Int

Value for first month of year.

Value: 1

JULY

Added in API level 8
static val JULY: Int

Value for seventh month of year.

Value: 7

JUNE

Added in API level 8
static val JUNE: Int

Value for sixth month of year.

Value: 6

LESSER

Added in API level 8
static val LESSER: Int

Comparison result.

Value: -1

MARCH

Added in API level 8
static val MARCH: Int

Value for third month of year.

Value: 3

MAX_TIMEZONE_OFFSET

Added in API level 8
static val MAX_TIMEZONE_OFFSET: Int

W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.

Value: -840

MAY

Added in API level 8
static val MAY: Int

Value for fifth month of year.

Value: 5

MIN_TIMEZONE_OFFSET

Added in API level 8
static val MIN_TIMEZONE_OFFSET: Int

W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.

Value: 840

NOVEMBER

Added in API level 8
static val NOVEMBER: Int

Value for eleven month of year.

Value: 11

OCTOBER

Added in API level 8
static val OCTOBER: Int

Value for tenth month of year.

Value: 10

SEPTEMBER

Added in API level 8
static val SEPTEMBER: Int

Value for ninth month of year.

Value: 9

Properties

DATE

Added in API level 8
static val DATE: QName!

Fully qualified name for W3C XML Schema 1.0 datatype date.

DATETIME

Added in API level 8
static val DATETIME: QName!

Fully qualified name for W3C XML Schema 1.0 datatype dateTime.

DAYS

Added in API level 8
static val DAYS: DatatypeConstants.Field!

A constant that represents the days field.

DURATION

Added in API level 8
static val DURATION: QName!

Fully qualified name for W3C XML Schema datatype duration.

DURATION_DAYTIME

Added in API level 8
static val DURATION_DAYTIME: QName!

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

DURATION_YEARMONTH

Added in API level 8
static val DURATION_YEARMONTH: QName!

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

GDAY

Added in API level 8
static val GDAY: QName!

Fully qualified name for W3C XML Schema 1.0 datatype gDay.

GMONTH

Added in API level 8
static val GMONTH: QName!

Fully qualified name for W3C XML Schema 1.0 datatype gMonth.

GMONTHDAY

Added in API level 8
static val GMONTHDAY: QName!

Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay.

GYEAR

Added in API level 8
static val GYEAR: QName!

Fully qualified name for W3C XML Schema 1.0 datatype gYear.

GYEARMONTH

Added in API level 8
static val GYEARMONTH: QName!

Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth.

HOURS

Added in API level 8
static val HOURS: DatatypeConstants.Field!

A constant that represents the hours field.

MINUTES

Added in API level 8
static val MINUTES: DatatypeConstants.Field!

A constant that represents the minutes field.

MONTHS

Added in API level 8
static val MONTHS: DatatypeConstants.Field!

A constant that represents the months field.

SECONDS

Added in API level 8
static val SECONDS: DatatypeConstants.Field!

A constant that represents the seconds field.

TIME

Added in API level 8
static val TIME: QName!

Fully qualified name for W3C XML Schema 1.0 datatype time.

YEARS

Added in API level 8
static val YEARS: DatatypeConstants.Field!

A constant that represents the years field.