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

Method getSeconds

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

Source from the content-addressed store, hash-verified

444 * @see #getFraction()
445 */
446 public long getSeconds() {
447
448 long secs = this.seconds;
449
450 if (this.nanos < 0) {
451 secs--;
452 }
453
454 return secs;
455
456 }
457
458 /**
459 * <p>Yields the normalized nanosecond fraction of this duration. </p>

Callers 6

writeMachineTimeMethod · 0.45
translateMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45
fromMethod · 0.45
loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected