Class Revision.DateSpec

java.lang.Object
org.tigris.subversion.javahl.Revision
org.tigris.subversion.javahl.Revision.DateSpec
All Implemented Interfaces:
Serializable
Enclosing class:
Revision

public static class Revision.DateSpec extends Revision
class to specify a revision by a date
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • revDate

      protected Date revDate
      the date
  • Constructor Details

    • DateSpec

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

    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Revision
    • toApache

      public Revision toApache()
      Overrides:
      toApache in class Revision