Class DefaultPeriod

    • Constructor Detail

      • DefaultPeriod

        public DefaultPeriod​(Instant begining,
                             Instant ending)
    • Method Detail

      • getBeginning

        public Instant getBeginning()
        Links this period to the instant at which it starts.
        Specified by:
        getBeginning in interface Period
      • setBegining

        public void setBegining​(Instant begining)
      • setBegining

        public void setBegining​(Date date)
      • getEnding

        public Instant getEnding()
        Links this period to the instant at which it ends.
        Specified by:
        getEnding in interface Period
      • setEnding

        public void setEnding​(Instant ending)
      • setEnding

        public void setEnding​(Date date)
      • equals

        public boolean equals​(Object object)
        Verify if this entry is identical to the specified object.
        equals in class Object
      • hashCode

        public int hashCode()
        hashCode in class Object
      • toString

        public String toString()
        toString in class Object