code: public DateInterval getDateRangeLimits() {
          DateVetoPolicy policy = getVetoPolicy();
          if (policy instanceof DateVetoPolicyMinimumMaximumDate) {
              return ((DateVetoPolicyMinimumMaximumDate) policy).getDateRangeLimits();
          }
          return new DateInterval();
      }
docs: getDateRangeLimits, This will return a DateInterval containing any current date range limits.
  If no date range limits have been set, then this will return an empty DateInterval. (Both
  dates in the DateInterval will be null). If only one side of the date range limits was set,
  then the other date in the DateInterval will be null.
  
  Technical Notes: This will return any date range limits that were specifically created by
  calling "setDateRangeLimits()". Date range limits are internally implemented using a
  DateVetoPolicy. (Specifically using the class "DateVetoPolicyMinimumMaximumDate".) If
  setDateRangeLimits was never called, or if (for any reason) the current veto policy is not an
  instance of "DateVetoPolicyMinimumMaximumDate", then this will return an empty DateInterval.
  For additional details, see setDateRangeLimits().