validDate Revisited – Java

This entry is part 8 of 13 in the series
Zellers Algorithm

With the updated Python function, comes an updated Java function, the code now looks like this, similar to the Python function there are two new checks and a final check that daysInMonth is not still zero: With this function working correctly, I can now continue with developing the GUI.