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

Method isFractionUnit

base/src/main/java/net/time4j/Duration.java:3443–3448  ·  view source on GitHub ↗
(IsoUnit unit)

Source from the content-addressed store, hash-verified

3441 }
3442
3443 private boolean isFractionUnit(IsoUnit unit) {
3444
3445 char symbol = unit.getSymbol();
3446 return ((symbol >= '1') && (symbol <= '9'));
3447
3448 }
3449
3450 @SuppressWarnings("unchecked")
3451 private static <T> T cast(Object obj) {

Callers 2

containsMethod · 0.95
getPartialAmountMethod · 0.95

Calls 1

getSymbolMethod · 0.65

Tested by

no test coverage detected