Returns the greater of two Instant values. That is, the result is the argument closer to the value of Instant#MAX. If the arguments have the same value, the result is that same value. @param a an argument. @param b another argument. @return the larger of a and b.
(final Instant a, final Instant b)
| 162 | * @return the larger of {@code a} and {@code b}. |
| 163 | */ |
| 164 | static Instant max(final Instant a, final Instant b) { |
| 165 | return a.compareTo(b) > 0 ? a : b; |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Returns the smaller of two {@code Instant} values. That is, the result is the argument closer to the value of |
no test coverage detected