public static OffsetDateTime parseDateTime ( String date ) throws ParseException { return DATE_TIME_OPTIONAL_OFFSET . withZone ( ZoneOffset . UTC ) . parse ( date , OffsetDateTime :: from ) ; }
Parse an XSD dateTime .