MCPcopy 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

mainMethod · 0.95

Calls 3

getYearMethod · 0.80
getMonthMethod · 0.80
getDayMethod · 0.80

Tested by

no test coverage detected