Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/castello/spring_basic
/ isValid
Method
isValid
ch2/YoilTellerMVC.java:40–45 ·
view source on GitHub ↗
(int year, int month, int day)
Source
from the content-addressed store, hash-verified
38
}
39
40
private
boolean isValid(
int
year,
int
month,
int
day) {
41
if
(year==-1 || month==-1 || day==-1)
42
return
false;
43
44
return
(1<=month && month<=12) && (1<=day && day<=31);
// 간단히 체크
45
}
46
}
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected