Class TimeSpan


  • public class TimeSpan
    extends Object
    Simple time span class with start and end times.
    Author:
    mshankar
    • Constructor Detail

      • TimeSpan

        public TimeSpan​(long startTimeEpochSeconds,
                        long endTimeEpochSeconds)
    • Method Detail

      • getStartTime

        public Timestamp getStartTime()
      • contains

        public boolean contains​(TimeSpan other)
        True if this timespan completely contains the other timestamp.
        Parameters:
        other - TimeSpan
        Returns:
        boolean True or False