private static @Nullable Date parseDate(String string) {
    for (SimpleDateFormat format : DATE_FORMATS) {
      Date date = format.parse(string, new ParsePosition(0));
      if (date != null) {
        return date;
      }
    }
    return null;
  }
private static @Nullable Date parseDate(String string)