@Test
public void testConvertNitfDate() {

  // setup
  DateTime dateTime = NitfTestCommons.createNitfDateTime(1997, 12, 17, 10, 26, 30);
  // when
  Date convertedDate = NitfAttributeConverters.nitfDate(dateTime);
  // then
  assertThat(dateTime.getZonedDateTime().toInstant(), is(convertedDate.toInstant()));
}