Compiler. Java: 115: error: always find a symbol
Return DateUtil (year, month, day);
^
Symbol: method DateUtil (int, int, int)
Location: class DateUtil
1 errors
The class DateUtil {
Public DateUtil getPreviousNDays (int n) {//year - month - day n days before the date of the
If (this. IsLeapYear (year)==true) {d [1]=29; }
for(i=0; i
Return DateUtil (year, month, day);
}
}
CodePudding user response:
What parameter is needed to see DateUtilCodePudding user response:
Code to send all,Then generally time utility class, is done with a static method,