Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ minus
Method
minus
vm/JavaAPI/src/java/time/Duration.java:54–56 ·
view source on GitHub ↗
(Duration other)
Source
from the content-addressed store, hash-verified
52
}
53
54
public
Duration minus(Duration other) {
55
return
ofSeconds(seconds - other.seconds, nanos - other.nanos);
56
}
57
58
public
int
compareTo(Duration other) {
59
if
(seconds != other.seconds) {
Callers
1
invoke2
Method · 0.45
Calls
1
ofSeconds
Method · 0.95
Tested by
no test coverage detected