Class DateTimeRange

    • Constructor Detail

      • DateTimeRange

        public DateTimeRange​(Date start,
                             Date end)
        Parameters:
        start - Beginning of the timeframe.
        end - End of the Timeframe.
    • Method Detail

      • getEnd

        public Date getEnd()
        The end of the timeframe.
        Returns:
        The end of the timeframe.
      • getStart

        public Date getStart()
        The beginning of the timeframe.
        Returns:
        The beginning of the timeframe.
      • toString

        public String toString()
        String representation of the object.
        Overrides:
        toString in class Object
        Returns:
        String representation of the object.