Returns the smaller of two Instant values. That is, the result is the argument closer to the value of Instant#MIN. If the arguments have the same value, the result is that same value. @param a an argument. @param b another argument. @return the smaller of a and b.
(final Instant a, final Instant b)
| 174 | * @return the smaller of {@code a} and {@code b}. |
| 175 | */ |
| 176 | static Instant min(final Instant a, final Instant b) { |
| 177 | return a.compareTo(b) < 0 ? a : b; |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * Returns a non-null duration, value if non-null, otherwise defaultValue. |
no test coverage detected