@Test
public void testInvalidRfc3339() {

  try {
    DateAndTime.parseRfc3339String("1937-01");
    fail("Parsing string should have failed, it's not valid RFC3339");
  } catch (IllegalArgumentException e) {
    // expected
  }
}