Class DefaultInstant

    • Constructor Detail

      • DefaultInstant

        public DefaultInstant​(Position position)
    • Method Detail

      • getBegunBy

        public Collection<Period> getBegunBy()
        Get the Collection of temporal Periods, for which this Instant is the beginning. The collection may be empty.
        Specified by:
        getBegunBy in interface Instant
        See Also:
        Period#begin
      • getEndedBy

        public Collection<Period> getEndedBy()
        Get the Collection of temporal Periods, for which this Instant is the end. The collection may be empty.
        Specified by:
        getEndedBy in interface Instant
        See Also:
        Period#end
      • setPosition

        public void setPosition​(Position position)
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object