Class TimePointImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.TimePointImpl
-
-
Constructor Summary
Constructors Constructor Description TimePointImpl(long relativeSeconds)
TimePointImpl(Date base, long relativeSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Date
getAbsoluteTime()
Returns the absolute time of the time point.long
getRelativeSeconds()
Returns the number of seconds from the time base.int
hashCode()
-
-
-
Constructor Detail
-
TimePointImpl
public TimePointImpl(long relativeSeconds)
-
TimePointImpl
public TimePointImpl(@NotNull Date base, long relativeSeconds)
-
-
Method Detail
-
getAbsoluteTime
@NotNull public Date getAbsoluteTime()
Description copied from interface:TimePoint
Returns the absolute time of the time point.- Specified by:
getAbsoluteTime
in interfaceTimePoint
- Returns:
- see above
-
getRelativeSeconds
public long getRelativeSeconds()
Description copied from interface:TimePoint
Returns the number of seconds from the time base. If the value is negative the time point is prior to the time base.- Specified by:
getRelativeSeconds
in interfaceTimePoint
- Returns:
- see above
-
-