org.tigris.subversion.javahl
Class Revision.DateSpec
java.lang.Object
org.tigris.subversion.javahl.Revision
org.tigris.subversion.javahl.Revision.DateSpec
- Enclosing class:
- Revision
public static class Revision.DateSpec
- extends Revision
class to specify a revision by a date
Field Summary |
protected java.util.Date |
revDate
the date |
Constructor Summary |
Revision.DateSpec(java.util.Date date)
create a revision by date object |
Method Summary |
boolean |
equals(java.lang.Object target)
compare to revision objects |
java.util.Date |
getDate()
Returns the date of the revision |
java.lang.String |
toString()
return the textual representation of the revision |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
revDate
protected java.util.Date revDate
- the date
Revision.DateSpec
public Revision.DateSpec(java.util.Date date)
- create a revision by date object
- Parameters:
date
-
getDate
public java.util.Date getDate()
- Returns the date of the revision
- Returns:
- the date
toString
public java.lang.String toString()
- return the textual representation of the revision
- Overrides:
toString
in class Revision
- Returns:
- english text
equals
public boolean equals(java.lang.Object target)
- compare to revision objects
- Overrides:
equals
in class Revision
- Parameters:
target
-
- Returns:
- if both object have equal content