Class Period

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Period
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Period​(java.time.LocalDateTime startingDateTime, java.time.LocalDateTime endingDateTime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.LocalDateTime getEndingDateTime()
      Get the Ending Time
      java.time.LocalDateTime getStartingDateTime()
      Get the Starting Time
      void setEndingDateTime​(java.time.LocalDateTime endingDateTime)
      Set the Ending Time
      void setStartingDateTime​(java.time.LocalDateTime startingDateTime)
      Set the Starting Time
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Period

        public Period​(java.time.LocalDateTime startingDateTime,
                      java.time.LocalDateTime endingDateTime)
    • Method Detail

      • getStartingDateTime

        public java.time.LocalDateTime getStartingDateTime()
        Get the Starting Time
        Returns:
        The Starting Time
      • setStartingDateTime

        public void setStartingDateTime​(java.time.LocalDateTime startingDateTime)
        Set the Starting Time
        Parameters:
        startingDateTime - the Starting Time to Set
      • getEndingDateTime

        public java.time.LocalDateTime getEndingDateTime()
        Get the Ending Time
        Returns:
        The Ending Time
      • setEndingDateTime

        public void setEndingDateTime​(java.time.LocalDateTime endingDateTime)
        Set the Ending Time
        Parameters:
        endingDateTime - The Ending Time to Set