Class GpxTimeOffset


  • public final class GpxTimeOffset
    extends Object
    Time offset of GPX correlation.
    Since:
    14205 (extracted from CorrelateGpxWithImages)
    • Constructor Detail

    • Method Detail

      • milliseconds

        public static GpxTimeOffset milliseconds​(long milliseconds)
        Constructs a new GpxTimeOffset from milliseconds.
        Parameters:
        milliseconds - time offset in milliseconds.
        Returns:
        new GpxTimeOffset
      • seconds

        public static GpxTimeOffset seconds​(long seconds)
        Constructs a new GpxTimeOffset from seconds.
        Parameters:
        seconds - time offset in seconds.
        Returns:
        new GpxTimeOffset
      • getMilliseconds

        public long getMilliseconds()
        Get time offset in milliseconds.
        Returns:
        time offset in milliseconds
      • getSeconds

        public long getSeconds()
        Get time offset in seconds.
        Returns:
        time offset in seconds
      • formatOffset

        public String formatOffset()
        Formats time offset.
        Returns:
        formatted time offset. Format: decimal number
      • getDayOffset

        public int getDayOffset()
        Returns the day difference.
        Returns:
        the day difference