code: private I_CmsListDateRestriction.TimeDirection parseDirection(CmsXmlContentValueLocation location) {
  
          try {
              return TimeDirection.valueOf(location.getValue().getStringValue(m_cms));
          } catch (Exception e) {
              return null;
          }
      }
docs: Parses a time direction.<p>
  
  @param location the location of the time direction
  
  @return the time direction, or null if it could not be parsed