@Test
public void testParseZonedDateTime() throws Exception {

    Calendar cal = Calendar.getInstance();
    cal.setTimeZone(TimeZone.getTimeZone("Australia/Sydney"));
    cal.set(2013, 4, 30, 23, 38, 27);
    cal.set(Calendar.MILLISECOND, 85);
    ZoneId zid = ZoneId.of("Australia/Sydney");
    ZonedDateTime expected = ZonedDateTime.ofInstant(cal.toInstant(), zid);
    ZonedDateTime actual = Utils.fromJson(
            "\"2013-05-30T23:38:27.085+10:00[Australia/Sydney]\"", ZonedDateTime.class);
    assertEquals(expected, actual);
}