(
T t1,
T t2
)
| 584 | * @return maximum of t1 and t2 |
| 585 | */ |
| 586 | public static <U, T extends TimePoint<U, T>> T max( |
| 587 | T t1, |
| 588 | T t2 |
| 589 | ) { |
| 590 | |
| 591 | return (t1.compareTo(t2) > 0) ? t1 : t2; |
| 592 | |
| 593 | } |
| 594 | |
| 595 | /** |
| 596 | * <p>Compares the whole state of this instance with given object. </p> |