(PlainTime time)
| 1619 | * @see #isAfter(PlainTime) |
| 1620 | */ |
| 1621 | @Override |
| 1622 | public int compareTo(PlainTime time) { |
| 1623 | |
| 1624 | int delta = this.hour - time.hour; |
| 1625 | |
| 1626 | if (delta == 0) { |
| 1627 | delta = this.minute - time.minute; |
| 1628 | if (delta == 0) { |
| 1629 | delta = this.second - time.second; |
| 1630 | if (delta == 0) { |
| 1631 | delta = this.nano - time.nano; |
| 1632 | } |
| 1633 | } |
| 1634 | } |
| 1635 | |
| 1636 | return ((delta < 0) ? -1 : ((delta == 0) ? 0 : 1)); |
| 1637 | |
| 1638 | } |
| 1639 | |
| 1640 | /** |
| 1641 | * <p>Dependent on the precision of this instance, this method yields a |
no outgoing calls
no test coverage detected