Added in API level 8

javax.xml.datatype

Classes

DatatypeConstants

Utility class to contain basic Datatype values as constants. 

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

Factory that creates new javax.xml.datatype Objects that map XML to/from Java Objects. 

Duration

Immutable representation of a time span as defined in the W3C XML Schema 1.0 specification. 

XMLGregorianCalendar

Representation for W3C XML Schema 1.0 date/time datatypes. 

Exceptions

DatatypeConfigurationException

Indicates a serious configuration error.