| java.lang.Object java.util.Date com.ice.cvsc.CVSTimestamp
CVSTimestamp | public class CVSTimestamp extends Date implements Cloneable(Code) | | The CVSTimestamp class is a subclass of Date, specifically
designed to be used as the time stamp of CVS entries. This
class allows us to display the timestamps of CVS Entries,
as well as determine when files have been updated.
version: $Revision: 2.6 $ author: Timothy Gerard Endres, time@ice.com. See Also: CVSTimestampFormat |
Method Summary | |
public boolean | equalsTime(long time) Determines if this timestamp is considered equivalent to
the time represented by the parameter we are passed. | public boolean | equalsTimestamp(CVSTimestamp stamp) Determines if this timestamp is considered equivalent to
the time represented by another timestamp. |
CVSTimestamp | public CVSTimestamp()(Code) | | |
CVSTimestamp | public CVSTimestamp(long msSinceEpoch)(Code) | | |
equalsTime | public boolean equalsTime(long time)(Code) | | Determines if this timestamp is considered equivalent to
the time represented by the parameter we are passed. Note
that we allow up to, but not including, one second of time
difference, since Java allows millisecond time resolution
while CVS stores second resolution timestamps. Further, we
allow the resolution difference on either side of the second
because we can not be sure of the rounding.
|
equalsTimestamp | public boolean equalsTimestamp(CVSTimestamp stamp)(Code) | | Determines if this timestamp is considered equivalent to
the time represented by another timestamp. Note
that we allow up to, but not including, one second of time
difference, since Java allows millisecond time resolution
while CVS stores second resolution timestamps. Further, we
allow the resolution difference on either side of the second
because we can not be sure of the rounding.
|
|
|