@Test
public void parseDate() {

    // Parse DDMMYY into milliseconds since epoch
    assertEquals(1524182400000L, NMEA.parseDate("200418"));
    assertEquals(0L, NMEA.parseDate(null));
    assertEquals(0L, NMEA.parseDate(""));
    assertEquals(0L, NMEA.parseDate("X"));
}