Class TemporalExtent


  • public class TemporalExtent
    extends Object
    Temporal Extent
    Author:
    osbornb
    • Constructor Detail

      • TemporalExtent

        public TemporalExtent()
        Constructor
      • TemporalExtent

        public TemporalExtent​(String start,
                              String end)
        Constructor
        Parameters:
        start - start
        end - end
      • TemporalExtent

        public TemporalExtent​(DateTime start,
                              DateTime end)
        Constructor
        Parameters:
        start - start date tiem
        end - end date time
    • Method Detail

      • getStart

        public String getStart()
        Get the start
        Returns:
        start
      • setStart

        public void setStart​(String start)
        Set the start
        Parameters:
        start - start
      • getStartDateTime

        public DateTime getStartDateTime()
        Get the start date time
        Returns:
        start date time
      • hasStartDateTime

        public boolean hasStartDateTime()
        Has a start date time
        Returns:
        true if has start date time
      • setStartDateTime

        public void setStartDateTime​(DateTime startDateTime)
        Set the start date time
        Parameters:
        startDateTime - start date time
      • setStartDateTime

        public void setStartDateTime​(String start)
        Set the start date time
        Parameters:
        start - start date time
      • getEnd

        public String getEnd()
        Get the end
        Returns:
        end
      • setEnd

        public void setEnd​(String end)
        Set the end
        Parameters:
        end - end
      • getEndDateTime

        public DateTime getEndDateTime()
        Get the end date time
        Returns:
        end date time
      • hasEndDateTime

        public boolean hasEndDateTime()
        Has an end date time
        Returns:
        true if has end date time
      • setEndDateTime

        public void setEndDateTime​(DateTime endDateTime)
        Set the end date time
        Parameters:
        endDateTime - end date time
      • setEndDateTime

        public void setEndDateTime​(String end)
        Set the end date time
        Parameters:
        end - end date time
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object