code: private boolean isDate(Class clazz)
      {
          return clazz.isAssignableFrom(Date.class) || clazz.isAssignableFrom(java.sql.Date.class)
                  || clazz.isAssignableFrom(Timestamp.class) || clazz.isAssignableFrom(Time.class)
                  || clazz.isAssignableFrom(Calendar.class);
      }
docs: Validates if input class is of type input.
  
  @param clazz
  class
  
  @return true, if it is a date field class.