code: private I_CmsListDateRestriction parsePastFuture(CmsXmlContentValueLocation dateRestriction) {
  
          CmsXmlContentValueLocation location = dateRestriction.getSubValue(N_PAST_FUTURE);
          if (location == null) {
              return null;
          }
          CmsXmlContentValueLocation directionLoc = location.getSubValue(N_DIRECTION);
          TimeDirection direction = parseDirection(directionLoc);
          return new CmsListDatePastFutureRestriction(direction);
      }
docs: Parses a date restriction of type 'Past/Future'.<p>
  
  @param dateRestriction the location of the date restriction
  
  @return the date restriction