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

Method extractValue

base/src/main/java/net/time4j/Moment.java:2570–2580  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2568 }
2569
2570 private long extractValue() {
2571
2572 Object obj = ValueOperator.class.cast(this.delegate).getValue();
2573
2574 if (obj == null) {
2575 throw new IllegalArgumentException("Missing new element value.");
2576 }
2577
2578 return Number.class.cast(obj).longValue();
2579
2580 }
2581
2582 private static boolean isNonIsoOffset(
2583 Timezone timezone,

Callers 1

applyMethod · 0.95

Calls 2

getValueMethod · 0.65
castMethod · 0.45

Tested by

no test coverage detected