@Test
@Parameters({

    "2016-01-19, 2016-01-19T00:00:00Z",
    "2016-01-19T09, 2016-01-19T09:00:00Z",
    "2016-01, 2016-01-01T00:00:00Z",
    "2016, 2016-01-01T00:00:00Z",
    "2016-01-19T09:11:00Z, 2016-01-19T09:11:00Z",
    "2016-01-19T09:11:01Z, 2016-01-19T09:11:01Z",
})
public void testParseBest(String string, String timestamp) {
  long expected = Instant.parse(timestamp).getEpochSecond();
  long result = ParameterUtil.parseBest(string).getSeconds();
  assertEquals(result, expected);
}