Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
plus
Method · 0.95
Calls
5
getTotalLength
Method · 0.95
compare
Method · 0.95
get
Method · 0.65
size
Method · 0.45
getUnit
Method · 0.45
Tested by
no test coverage detected