Class ImageTimeOffset

java.lang.Object
videoRangePanel.pamImage.ImageTimeOffset
All Implemented Interfaces:
Serializable, Cloneable, TimeOffset

public class ImageTimeOffset extends Object implements TimeOffset, Serializable, Cloneable
Time offset for PamImages. Simple constant offset which is added ot the image time.
Author:
Jamie Macaulay
See Also:
  • Constructor Details

    • ImageTimeOffset

      public ImageTimeOffset(long timeOffset)
  • Method Details

    • getOffsetTime

      public long getOffsetTime(long originalTime)
      Description copied from interface: TimeOffset
      Get the time offset.
      Specified by:
      getOffsetTime in interface TimeOffset
      Parameters:
      originalTime - - the orginal time
      Returns:
      the time with time offset.
    • getTimeOffset

      public long getTimeOffset()
      Get the time offset
      Returns:
      the timeOffset
    • setTimeOffset

      public void setTimeOffset(long timeOffset)
      Set the time offset
      Parameters:
      timeOffset - the timeOffset to set
    • setTimeOffset

      public void setTimeOffset(int days, int hours, int minutes, int seconds, int millis)
      Set the time offset.
      Parameters:
      days - - the number of full days of offset
      hours - - the number of full hours of time offset
      minutes - = the number of full minutes of time offset
      seconds - - the number of full seconds
    • clone

      public ImageTimeOffset clone()