com.sun.msv.datatype.xsd.datetime
public class BigTimeDurationValueType extends Object implements ITimeDurationValueType
Constructor Summary | |
---|---|
BigTimeDurationValueType(int signum, BigInteger year, BigInteger month, BigInteger day, BigInteger hour, BigInteger minute, BigDecimal second)
All the fields should be positive and use the signum field to
determine the sign. | |
BigTimeDurationValueType(String lexicalRepresentation)
Reads in the lexical duration format.
|
Method Summary | |
---|---|
int | compare(ITimeDurationValueType o) |
boolean | equals(Object o) |
boolean | equals(ITimeDurationValueType o) |
static BigTimeDurationValueType | fromMinutes(int minutes) |
static BigTimeDurationValueType | fromMinutes(BigInteger minutes) |
BigTimeDurationValueType | getBigValue() |
BigInteger | getDay() |
BigInteger | getHour() |
BigInteger | getMinute() |
BigInteger | getMonth() |
BigDecimal | getSecond() |
BigInteger | getYear() |
int | hashCode()
hash code has to be consistent with equals method. |
String | toString() |
Parameters: lexicalRepresentation whitespace stripped lexical form.
Returns: non-null positive value. use signum for the sign.
Returns: non-null positive value. use signum for the sign.
Returns: non-null positive value. use signum for the sign.
Returns: non-null positive value. use signum for the sign.
Returns: non-null positive value. use signum for the sign.
Returns: non-null positive value. use signum for the sign.