private void setAttributesRecurring(String input) {
   DateTimeParser dateTimeParser = new DateTimeParser();
   removeWhiteSpaces(input);
   determineLengthOfInput();
   numToRecur = setNumToRecur();
   recurDuration = setRecurDuration();
   userCommand = removeNumAndDuration();
   determineLengthOfInput();
   setTime(userCommand);
   userCommand = dateTimeParser.removeTime(userCommand);
   determineLengthOfInput();
   isEnglishDate();
   setDate(numToUse, lengthOfInput);
   userCommand = dateTimeParser.removeDate(userCommand);
   determineLengthOfInput();
   setTaskName();
 }
 public static LocalDate stringToLocalDate(String date) {
   DateTimeParser parser = new DateTimeParser();
   return parser.parseDate(date);
 }