code: public static Date fromHttpDate(String date) throws DateTimeParseException {
          notNull("date", date);
          return new Date(DateTimeFormatter.RFC_1123_DATE_TIME
              .withZone(ZoneOffset.UTC)
              .parse(date, Instant::from)
              .toEpochMilli());
      }
docs: Converts a date string as used in HTTP headers (defined in RFC 7321) into a date object
  
  @param date A date formatted like <code>Tue, 15 Nov 1994 08:12:31 GMT</code>
  @return A date representing the string
  @throws IllegalArgumentException If the date is null
  @throws DateTimeParseException If the date is not a valid HTTP date format