checkDate.java