Class Revision.DateSpec

    • Field Detail

      • revDate

        protected Date revDate
        the date
    • Constructor Detail

      • DateSpec

        public DateSpec​(Date date)
        create a revision by date object
        Parameters:
        date -
    • Method Detail

      • getDate

        public Date getDate()
        Returns the date of the revision
        Returns:
        the date
      • toString

        public String toString()
        return the textual representation of the revision
        Overrides:
        toString in class Revision
        Returns:
        english text
      • equals

        public boolean equals​(Object target)
        compare to revision objects
        Overrides:
        equals in class Revision
        Parameters:
        target -
        Returns:
        if both object have equal content