MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / plus

Method plus

vm/JavaAPI/src/java/time/Duration.java:50–52  ·  view source on GitHub ↗
(Duration other)

Source from the content-addressed store, hash-verified

48 }
49
50 public Duration plus(Duration other) {
51 return ofSeconds(seconds + other.seconds, nanos + other.nanos);
52 }
53
54 public Duration minus(Duration other) {
55 return ofSeconds(seconds - other.seconds, nanos - other.nanos);

Callers 4

invoke2Method · 0.45
runTestMethod · 0.45
calculateMethod · 0.45

Calls 1

ofSecondsMethod · 0.95

Tested by 2

runTestMethod · 0.36
calculateMethod · 0.36