org.tigris.subversion.javahl
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:
- Serialized Form
revDate
protected Date revDate
- the date
Revision.DateSpec
public Revision.DateSpec(Date date)
- create a revision by date object
- Parameters:
date
-
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