com.sun.msv.datatype.xsd.datetime
Class BigTimeDurationValueType
java.lang.Object
com.sun.msv.datatype.xsd.datetime.BigTimeDurationValueType
- All Implemented Interfaces:
- ITimeDurationValueType, Serializable
- public class BigTimeDurationValueType
- extends Object
- implements ITimeDurationValueType
ITimeDurationValueType implementation that can hold all lexically legal
timeDuration value.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
BigTimeDurationValueType
public BigTimeDurationValueType(BigInteger year,
BigInteger month,
BigInteger day,
BigInteger hour,
BigInteger minute,
BigDecimal second)
compare
public int compare(ITimeDurationValueType o)
- Description copied from interface:
ITimeDurationValueType
- compare two ITimeDurationValueType as defined in
com.sun.msv.datatype/Comparator
- Specified by:
compare
in interface ITimeDurationValueType
equals
public boolean equals(ITimeDurationValueType o)
equals
public boolean equals(Object o)
fromMinutes
public static BigTimeDurationValueType fromMinutes(BigInteger minutes)
fromMinutes
public static BigTimeDurationValueType fromMinutes(int minutes)
getBigValue
public BigTimeDurationValueType getBigValue()
- Specified by:
getBigValue
in interface ITimeDurationValueType
hashCode
public int hashCode()
- hash code has to be consistent with equals method.
toString
public String toString()
Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated September 9 2004.