Package com.redwood.scheduler.api.model
Interface TimeEstimate
-
- All Superinterfaces:
DurationEstimate
public interface TimeEstimate extends DurationEstimate
Interface for information about an estimated point in time.
-
-
Field Summary
Fields Modifier and Type Field Description static com.redwood.scheduler.infrastructure.logging.Versions
VERSIONS_JE
-
Fields inherited from interface com.redwood.scheduler.api.model.DurationEstimate
SOURCE_ESTIMATE, SOURCE_INCOMPLETE, SOURCE_KNOWN, VERSIONS_DE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateTimeZone
getTime()
Get the value for this estimate.long
getTimeMillis()
Get the value for this estimate.-
Methods inherited from interface com.redwood.scheduler.api.model.DurationEstimate
getSource
-
-
-
-
Method Detail
-
getTimeMillis
long getTimeMillis()
Get the value for this estimate.- Specified by:
getTimeMillis
in interfaceDurationEstimate
- Returns:
- the estimate, measured in milliseconds since midnight, January 1, 1970 UTC.
-
getTime
DateTimeZone getTime()
Get the value for this estimate. This is equivalent togetTimeMillis()
but also has the time-zone for the job attached.- Returns:
- the estimate.
-
-