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

Method getFraction

base/src/main/java/net/time4j/MachineTime.java:470–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468 * @see #getSeconds()
469 */
470 public int getFraction() {
471
472 int n = this.nanos;
473
474 if (n < 0) {
475 n += MRD;
476 }
477
478 return n;
479
480 }
481
482 /**
483 * <p>Yields the related time scale. </p>

Callers 3

writeMachineTimeMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected