public List<DateGroup> parseSyntax(String language)
   {
      language = words2numbers(language);

      List<DateGroup> result = new ArrayList<DateGroup>();
      List<com.joestelmach.natty.DateGroup> groups = parser.parse(language);
      Date now = new Date();
      for (com.joestelmach.natty.DateGroup group : groups) {
         result.add(new DateGroupImpl(now, group));
      }
      return result;
   }
public List < DateGroup > parseSyntax ( String language ) { language = words2numbers ( language ) ; List < DateGroup > result = new ArrayList < DateGroup > ( ) ; List < com . joestelmach . natty . DateGroup > groups = parser . parse ( language ) ; Date now = new Date ( ) ; for ( com . joestelmach . natty . DateGroup group : groups ) { result . add ( new DateGroupImpl ( now , group ) ) ; } return result ; }
Parse the given language and return a {@link List} with all discovered {@link DateGroup} instances.