public static class DurationValue.DurationComparable extends java.lang.Object implements java.lang.Comparable<DurationValue.DurationComparable>
| Constructor and Description |
|---|
DurationComparable(int m,
long s,
int nanos) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DurationValue.DurationComparable other)
Compare two durations according to the XML Schema rules.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public int compareTo(DurationValue.DurationComparable other)
compareTo in interface java.lang.Comparable<DurationValue.DurationComparable>other - the other durationSequenceTool.INDETERMINATE_ORDERING if there is no defined orderpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.