Class NmeaMessageExactEarthTimestamp


  • public class NmeaMessageExactEarthTimestamp
    extends java.lang.Object
    Parses a custom ExactEarth NMEA line for AMSA so that we can obtain the actual timestamp of an AIS Position Report (types 1,2,3).
    Author:
    dxm
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFollowingSequenceChecksum()
      Returns the checksum of the message that this timestamp line refers to.
      long getTime()
      Returns the time in epoch ms.
      static boolean isExactEarthTimestamp​(java.lang.String line)
      Returns true if the given line is a custom ExactEarth timestamp.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NmeaMessageExactEarthTimestamp

        public NmeaMessageExactEarthTimestamp​(java.lang.String line)
        Constructor.
        Parameters:
        line -
    • Method Detail

      • isExactEarthTimestamp

        public static boolean isExactEarthTimestamp​(java.lang.String line)
        Returns true if the given line is a custom ExactEarth timestamp.
        Parameters:
        line -
        Returns:
      • getTime

        public long getTime()
        Returns the time in epoch ms.
        Returns:
      • getFollowingSequenceChecksum

        public java.lang.String getFollowingSequenceChecksum()
        Returns the checksum of the message that this timestamp line refers to.
        Returns: