Java In A Nutshell, 5th Edition

DatatypeConstants.Field javax.xml.datatype

Java 5.0

This class defines a typesafe enumeration for some of the constants in DatatypeConstants . Note that it is a class, not a Java 5.0 enum type.

public static final class DatatypeConstants.Field { // No Constructor // Public Instance Methods public int getId ( ); // Public Methods Overriding Object public String toString ( ); }

Passed To

Duration.{getField( ) , isSet( )}

Type Of

DatatypeConstants.{DAYS , HOURS , MINUTES , MONTHS , SECONDS , YEARS}

Категории