code: private I_CmsListDateRestriction parseRange(CmsXmlContentValueLocation dateRestriction) {
  
          CmsXmlContentValueLocation location = dateRestriction.getSubValue(N_RANGE);
          if (location == null) {
              return null;
          }
          CmsXmlContentValueLocation fromLoc = location.getSubValue(N_FROM);
          CmsXmlContentValueLocation toLoc = location.getSubValue(N_TO);
          Date fromDate = parseDate(fromLoc);
          Date toDate = parseDate(toLoc);
          if ((fromDate != null) || (toDate != null)) {
              return new CmsListDateRangeRestriction(fromDate, toDate);
          } else {
              return null;
          }
      }
docs: Parses a date restriction of 'range' type.<p>
  
  @param dateRestriction the location of the date restriction
  
  @return the date restriction or null if it could not be parsed