Class DurationValue.DurationComparable

  • All Implemented Interfaces:
    java.lang.Comparable<DurationValue.DurationComparable>
    Enclosing class:
    DurationValue

    public static class DurationValue.DurationComparable
    extends java.lang.Object
    implements java.lang.Comparable<DurationValue.DurationComparable>
    DurationValueComparable is a Comparable value that acts as a surrogate for a Duration, having ordering rules that implement the XML Schema specification.
    • Constructor Detail

      • DurationComparable

        public DurationComparable​(int m,
                                  long s,
                                  int nanos)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object