Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MenoData/Time4J
/ getCategory
Method
getCategory
base/src/main/java/net/time4j/PrettyTime.java:1749–1751 ·
view source on GitHub ↗
(long amount)
Source
from the content-addressed store, hash-verified
1747
}
1748
1749
private
PluralCategory getCategory(long amount) {
1750
return
this.rules.getCategory(Math.abs(amount));
1751
}
1752
1753
private
static
void
pushDuration(
1754
long[] values,
Callers
3
print
Method · 0.95
getPastPattern
Method · 0.95
getFuturePattern
Method · 0.95
Calls
1
abs
Method · 0.45
Tested by
no test coverage detected