Class SyslogYearCompleter


  • public class SyslogYearCompleter
    extends Object
    • Constructor Detail

      • SyslogYearCompleter

        public SyslogYearCompleter()
    • Method Detail

      • complete

        public static void complete​(SyslogMessage syslog)
        Adds the year (best guess) to a given syslog message if no year is present in the syslog message
      • complete

        public static void complete​(SyslogMessage syslog,
                                    java.time.Instant referenceTime)
        Adds the year (best guess) to a given syslog message if no year is present in the syslog message Assumptions: - syslog.getYear() == null, if not nothing to guess -> we won't do anything.