org.tigris.subversion.javahl

Class Revision.DateSpec

Enclosing Class:
Revision

public static class Revision.DateSpec
extends Revision

class to specify a revision by a date

Nested Class Summary

Nested classes/interfaces inherited from class org.tigris.subversion.javahl.Revision

Revision.DateSpec, Revision.Kind, Revision.Number

Field Summary

protected Date
revDate
the date

Fields inherited from class org.tigris.subversion.javahl.Revision

BASE, COMMITTED, HEAD, PREVIOUS, START, SVN_INVALID_REVNUM, WORKING, revKind

Constructor Summary

DateSpec(Date date)
create a revision by date object

Method Summary

boolean
equals(Object target)
compare to revision objects
Date
getDate()
Returns the date of the revision
String
toString()
return the textual representation of the revision

Methods inherited from class org.tigris.subversion.javahl.Revision

equals, getInstance, getInstance, getKind, toString

Field Details

revDate

protected Date revDate
the date

Constructor Details

DateSpec

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

Method Details

equals

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

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 interface Revision
Returns:
english text