code: private static String cleanDate(final String dateString) {
          if (dateString == null) {
              return dateString;
          }
  
          String retValue = dateString;
          retValue = THURSDAY_DATE_RE.matcher(retValue).replaceAll("Thu");
          retValue = TUESDAY_DATE_RE.matcher(retValue).replaceAll("Tue");
  
          return retValue;
      }
docs: Basic method to clean a date string to fix any partial day names. It currently cleans "Thur", "Thurs" and "Tues".
  
  @param dateString
  @return