@Test public void testShortDate() { assertThat(new ItronManufacturerDataParser(new Buffer(_2019_12_29_0313)).readShortDateTime()) .isEqualTo(LocalDateTime.of(2019, 12, 29, 3, 13)); assertThat(new ItronManufacturerDataParser(new Buffer(_2020_01_09_1241)).readShortDateTime()) .isEqualTo(LocalDateTime.of(2020, 1, 9, 12, 41)); assertThat(new ItronManufacturerDataParser(new Buffer(_2020_01_08_2121)).readShortDateTime()) .isEqualTo(LocalDateTime.of(2020, 1, 8, 21, 21)); }
public LocalDateTime readShortDateTime() { return parseShortDateTime(buffer.readBytes(4)); }
ItronManufacturerDataParser { public LocalDateTime readShortDateTime() { return parseShortDateTime(buffer.readBytes(4)); } }
ItronManufacturerDataParser { public LocalDateTime readShortDateTime() { return parseShortDateTime(buffer.readBytes(4)); } ItronManufacturerDataParser(Buffer buffer); }
ItronManufacturerDataParser { public LocalDateTime readShortDateTime() { return parseShortDateTime(buffer.readBytes(4)); } ItronManufacturerDataParser(Buffer buffer); LocalDateTime readShortDateTime(); LocalDateTime readLongDateTime(); }
ItronManufacturerDataParser { public LocalDateTime readShortDateTime() { return parseShortDateTime(buffer.readBytes(4)); } ItronManufacturerDataParser(Buffer buffer); LocalDateTime readShortDateTime(); LocalDateTime readLongDateTime();  }