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

Method getIndex

base/src/main/java/net/time4j/Duration.java:3144–3148  ·  view source on GitHub ↗
(ChronoUnit unit)

Source from the content-addressed store, hash-verified

3142
3143 // binäre Suche
3144 private int getIndex(ChronoUnit unit) {
3145
3146 return getIndex(unit, this.getTotalLength());
3147
3148 }
3149
3150 // binäre Suche
3151 private static <U extends ChronoUnit> int getIndex(

Callers 1

plusMethod · 0.95

Calls 5

getTotalLengthMethod · 0.95
compareMethod · 0.95
getMethod · 0.65
sizeMethod · 0.45
getUnitMethod · 0.45

Tested by

no test coverage detected