Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/castello/spring_basic
/ isValid
Method
isValid
ch2/YoilTellerMVC5.java:52–54 ·
view source on GitHub ↗
(MyDate date)
Source
from the content-addressed store, hash-verified
50
}
51
52
private
boolean isValid(MyDate date) {
53
return
isValid(date.getYear(), date.getMonth(), date.getDay());
54
}
55
56
private
boolean isValid(
int
year,
int
month,
int
day) {
57
if
(year==-1 || month==-1 || day==-1)
Callers
1
main
Method · 0.95
Calls
3
getYear
Method · 0.80
getMonth
Method · 0.80
getDay
Method · 0.80
Tested by
no test coverage detected