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 booleanequals(Object o)DategetAbsoluteTime()Returns the absolute time of the time point.longgetRelativeSeconds()Returns the number of seconds from the time base.inthashCode()
-
-
-
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:TimePointReturns the absolute time of the time point.- Specified by:
getAbsoluteTimein interfaceTimePoint- Returns:
- see above
-
getRelativeSeconds
public long getRelativeSeconds()
Description copied from interface:TimePointReturns the number of seconds from the time base. If the value is negative the time point is prior to the time base.- Specified by:
getRelativeSecondsin interfaceTimePoint- Returns:
- see above
-
-