MCPcopy Create free account
hub / github.com/MenoData/Time4J / min

Method min

base/src/main/java/net/time4j/engine/TimePoint.java:559–566  ·  view source on GitHub ↗
(
        T t1,
        T t2
    )

Source from the content-addressed store, hash-verified

557 * @return minimum of t1 and t2
558 */
559 public static <U, T extends TimePoint<U, T>> T min(
560 T t1,
561 T t2
562 ) {
563
564 return (t1.compareTo(t2) > 0) ? t2 : t1;
565
566 }
567
568 /**
569 * <p>Determines the maximum of both time points. </p>

Callers 15

minMethod · 0.95
minMethod · 0.95
writeDurationMethod · 0.45
withValueMethod · 0.45
withValueMethod · 0.45
applyMethod · 0.45
withYearMethod · 0.45
withMonthMethod · 0.45
toNanoMethod · 0.45
parseMethod · 0.45
withValueMethod · 0.45
withValueMethod · 0.45

Calls 1

compareToMethod · 0.45

Tested by 2

minMethod · 0.76
minMethod · 0.76