Package org.tigris.subversion.javahl
Class LogDate
java.lang.Object
org.tigris.subversion.javahl.LogDate
- All Implemented Interfaces:
Serializable
public class LogDate extends Object implements Serializable
Holds date for a log message. This class maintains
the time to the microsecond and is not lossy.
- Since:
- 1.5
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Calendar
getCalender()
Returns the time of the commit as CalendarDate
getDate()
Returns the date of the commitlong
getTimeMicros()
Returns the time of the commit in microsecondslong
getTimeMillis()
Returns the time of the commit in millisecondsint
hashCode()
String
toString()
-
Constructor Details
-
LogDate
- Throws:
ParseException
-
-
Method Details
-
getTimeMicros
public long getTimeMicros()Returns the time of the commit in microseconds- Returns:
- the time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC
-
getTimeMillis
public long getTimeMillis()Returns the time of the commit in milliseconds- Returns:
- the time of the commit measured in the number of milliseconds since 00:00:00 January 1, 1970 UTC
-
getCalender
Returns the time of the commit as Calendar- Returns:
- the time of the commit as java.util.Calendar
-
getDate
Returns the date of the commit- Returns:
- the time of the commit as java.util.Date
-
toString
-
hashCode
public int hashCode() -
equals
-