Package | Description |
---|---|
javax.xml.datatype |
XML/Java Type Mappings.
|
Modifier and Type | Field and Description |
---|---|
static DatatypeConstants.Field |
DatatypeConstants.DAYS
A constant that represents the days field.
|
static DatatypeConstants.Field |
DatatypeConstants.HOURS
A constant that represents the hours field.
|
static DatatypeConstants.Field |
DatatypeConstants.MINUTES
A constant that represents the minutes field.
|
static DatatypeConstants.Field |
DatatypeConstants.MONTHS
A constant that represents the months field.
|
static DatatypeConstants.Field |
DatatypeConstants.SECONDS
A constant that represents the seconds field.
|
static DatatypeConstants.Field |
DatatypeConstants.YEARS
A constant that represents the years field.
|
Modifier and Type | Method and Description |
---|---|
abstract Number |
Duration.getField(DatatypeConstants.Field field)
Gets the value of a field.
|
abstract boolean |
Duration.isSet(DatatypeConstants.Field field)
Checks if a field is set.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.