code: private boolean validatePast(Object validationObject, Annotation annotate)
      {
          if (checkNullObject(validationObject))
          {
              return true;
          }
  
          int res = 0;
  
          if (validationObject.getClass().isAssignableFrom(java.util.Date.class))
          {
              Date today = new Date();
              Date pastDate = (Date) validationObject;
  
              res = pastDate.compareTo(today);
          }
          else if (validationObject.getClass().isAssignableFrom(java.util.Calendar.class))
          {
  
              Calendar cal = Calendar.getInstance();
              Calendar pastDate = (Calendar) validationObject;
              res = pastDate.compareTo(cal);
  
          }
          // else
          // {
          // ruleExceptionHandler(((Past) annotate).message());
          // }
          if (res >= 0)
          {
              throwValidationException(((Past) annotate).message());
          }
  
          return true;
      }
docs: Checks whether the object is null or not
  
  @param validationObject
  @param annotate
  @return