RFC822PartialDateTimeParser { public static Optional<PartialDateTime> parse(String text) { return ZonedDateTimes.parseOptionally( text, DateTimeFormatter.RFC_1123_DATE_TIME ).map( PartialDateTimes::forZonedDateTime ); }  static Optional<PartialDateTime> parse(String text);  }
@Test public void testParse() throws Exception { assertEquals( "2008-06-03T11:05:30Z", RFC822PartialDateTimeParser.parse( "Tue, 3 Jun 2008 11:05:30 GMT" ).get().toISO8601() ); }