@Override
    public Date parse(final String input) throws InvalidDateException {
        try {
            return Date.from(LocalDateTime.parse(input, DateTimeFormatter.ISO_DATE_TIME).toInstant(ZoneOffset.UTC));
        }
        catch(DateTimeParseException e) {
            throw new InvalidDateException(e.getMessage(), e);
        }
    }
@Test
    public void testParseLocalDate() throws Exception {
        // No time zone indicator
        final ISO8601DateFormatter formatter = new ISO8601DateFormatter();
        assertEquals(2527156760000L, formatter.parse("2050-01-30T12:00:00.000000").getTime(), 0L);
    }