| Modifier and Type | Field and Description |
|---|---|
| protected BigInteger | |
| protected BigInteger | |
| protected BigInteger | |
| protected BigInteger | |
| protected BigDecimal | |
| private static final long | |
| protected int | |
| private static final BigDateTimeValueType[] | |
| protected BigInteger |
| Access | Constructor and Description |
|---|---|
| public | 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. |
| public | BigTimeDurationValueType(String
whitespace stripped lexical form. lexicalRepresentation)Reads in the lexical duration format. |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(ITimeDurationValueType o)
Implements com. |
| private static int | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public boolean | |
| public static BigTimeDurationValueType | |
| public static BigTimeDurationValueType | |
| public BigTimeDurationValueType | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigDecimal | |
| private int | |
| private int | |
| public BigInteger | |
| public int | |
| private static boolean | |
| private static boolean | |
| private BigInteger | |
| private static void | |
| private static BigDecimal | |
| private static BigInteger | |
| private static String | |
| private void | |
| public String |
| day | back to summary |
|---|---|
| protected BigInteger day | |
| hour | back to summary |
|---|---|
| protected BigInteger hour | |
| minute | back to summary |
|---|---|
| protected BigInteger minute | |
| month | back to summary |
|---|---|
| protected BigInteger month | |
| second | back to summary |
|---|---|
| protected BigDecimal second | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| signum | back to summary |
|---|---|
| protected int signum | |
| testInstance | back to summary |
|---|---|
| private static final BigDateTimeValueType[] testInstance | |
| year | back to summary |
|---|---|
| protected BigInteger year | |
| BigTimeDurationValueType | back to summary |
|---|---|
| public 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 | back to summary |
|---|---|
| public BigTimeDurationValueType(String lexicalRepresentation) throws IllegalArgumentException Reads in the lexical duration format.
| |
| compare | back to summary |
|---|---|
| public int compare(ITimeDurationValueType o) Implements com. Doc from com. compare two ITimeDurationValueType as defined in com.sun.msv.datatype/Comparator | |
| compare | back to summary |
|---|---|
| private static int compare(BigTimeDurationValueType lhs, BigTimeDurationValueType rhs) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| equals | back to summary |
|---|---|
| public boolean equals(ITimeDurationValueType o) | |
| fromMinutes | back to summary |
|---|---|
| public static BigTimeDurationValueType fromMinutes(int minutes) | |
| fromMinutes | back to summary |
|---|---|
| public static BigTimeDurationValueType fromMinutes(BigInteger minutes) | |
| getBigValue | back to summary |
|---|---|
| public BigTimeDurationValueType getBigValue() Implements com. | |
| getDay | back to summary |
|---|---|
public BigInteger getDay()
| |
| getHour | back to summary |
|---|---|
public BigInteger getHour()
| |
| getMinute | back to summary |
|---|---|
public BigInteger getMinute()
| |
| getMonth | back to summary |
|---|---|
public BigInteger getMonth()
| |
| getSecond | back to summary |
|---|---|
public BigDecimal getSecond()
| |
| getSignum | back to summary |
|---|---|
| private int getSignum(BigInteger i) | |
| getSignum | back to summary |
|---|---|
| private int getSignum(BigDecimal i) | |
| getYear | back to summary |
|---|---|
public BigInteger getYear()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. hash code has to be consistent with equals method.
| |
| isDigit | back to summary |
|---|---|
| private static boolean isDigit(char ch) | |
| isDigitOrPeriod | back to summary |
|---|---|
| private static boolean isDigitOrPeriod(char ch) | |
| nullAsZero | back to summary |
|---|---|
| private BigInteger nullAsZero(BigInteger o) | |
| organizeParts | back to summary |
|---|---|
| private static void organizeParts(String whole, String[] parts, int[] partsIndex, int len, String tokens) throws IllegalArgumentException | |
| parseBigDecimal | back to summary |
|---|---|
| private static BigDecimal parseBigDecimal(String whole, String part, int index) throws IllegalArgumentException | |
| parseBigInteger | back to summary |
|---|---|
| private static BigInteger parseBigInteger(String whole, String part, int index) throws IllegalArgumentException | |
| parsePiece | back to summary |
|---|---|
| private static String parsePiece(String whole, int[] idx) throws IllegalArgumentException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |