code: private I_CmsListDateRestriction parseFromToday(CmsXmlContentValueLocation dateRestriction) {
  
          CmsXmlContentValueLocation location = dateRestriction.getSubValue(N_FROM_TODAY);
          if (location == null) {
              return null;
          }
          CmsXmlContentValueLocation countLoc = location.getSubValue(N_COUNT);
          CmsXmlContentValueLocation unitLoc = location.getSubValue(N_UNIT);
          CmsXmlContentValueLocation directionLoc = location.getSubValue(N_DIRECTION);
  
          TimeDirection direction = parseDirection(directionLoc);
          Integer count = parsePositiveNumber(countLoc);
          TimeUnit unit = parseUnit(unitLoc);
          if (count == null) {
              return null;
          }
          return new CmsListDateFromTodayRestriction(count.intValue(), unit, direction);
      }
docs: Parses a date restriction of type 'FromToday'.<p>
  
  @param dateRestriction the location of the date restriction
  
  @return the date restriction