MCPcopy 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

printMethod · 0.95
getPastPatternMethod · 0.95
getFuturePatternMethod · 0.95

Calls 1

absMethod · 0.45

Tested by

no test coverage detected