expose checkDate