Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/exercism/java
/ add
Method
add
exercises/practice/clock/src/main/java/Clock.java:7–9 ·
view source on GitHub ↗
(int minutes)
Source
from the content-addressed store, hash-verified
5
}
6
7
void
add(
int
minutes) {
8
throw
new
UnsupportedOperationException(
"Delete this statement and write your own implementation."
);
9
}
10
11
@Override
12
public
String toString() {
Callers
15
addMinutes
Method · 0.95
addNoMinutes
Method · 0.95
addToNextHour
Method · 0.95
addMoreThanOneHour
Method · 0.95
addMoreThanTwoHoursWithCarry
Method · 0.95
addAcrossMidnight
Method · 0.95
addMoreThanOneDay
Method · 0.95
addMoreThanTwoDays
Method · 0.95
subtractMinutes
Method · 0.95
subtractToPreviousHour
Method · 0.95
subtractMoreThanAnHour
Method · 0.95
subtractAcrossMidnight
Method · 0.95
Calls
no outgoing calls
Tested by
15
addMinutes
Method · 0.76
addNoMinutes
Method · 0.76
addToNextHour
Method · 0.76
addMoreThanOneHour
Method · 0.76
addMoreThanTwoHoursWithCarry
Method · 0.76
addAcrossMidnight
Method · 0.76
addMoreThanOneDay
Method · 0.76
addMoreThanTwoDays
Method · 0.76
subtractMinutes
Method · 0.76
subtractToPreviousHour
Method · 0.76
subtractMoreThanAnHour
Method · 0.76
subtractAcrossMidnight
Method · 0.76