LinuxSyslog5424ParserBase extends LinuxSyslogLineParser { @Override public DateTime getLastDeterminedDateTime() { return m_dateTime; }  @Override Date toDate(String source, String s); @Override DateTime getLastDeterminedDateTime(); @Override boolean parseLine(String line); static final String RFC5424_TIMESTAMP; }
@Test public void testGetLastDeterminedTestDateTime() throws ParseException { pattern = "1969-12-31T19:00:00z"; DateTime date = DateTime.parse(pattern); assertEquals("Input time pattern is yyyy-MM-dd'T'H:m:sZ ",millisecondsOfDateWithoutOffset,ls5424pb.toDate("",pattern)); assertEquals("Making sure toDate sets the right value ",date,ls5424pb.getLastDeterminedDateTime()); }