public class TimeIntervalFinderProgress extends Object
ITrackCalculationProgress.reportProgress(int, java.lang.Object) by TimeIntervalFinder (get).| Constructor and Description |
|---|
TimeIntervalFinderProgress(TimeIntervalFinder timeIntervalFinder,
JulianDate startDate,
JulianDate endDate,
Duration complete)
Initializes a new instance with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
getDurationComplete()
Gets the quantity of time that has already been computed.
|
JulianDate |
getEndDate()
Gets the last date to be evaluated.
|
int |
getPercentComplete()
Gets an estimate of the percentage of work that has been completed.
|
JulianDate |
getStartDate()
Gets the first date to be evaluated.
|
TimeIntervalFinder |
getTimeIntervalFinder()
Gets the time interval finder that is reporting progress.
|
Duration |
getTotalDuration()
Gets the quantity of time to be evaluated.
|
public TimeIntervalFinderProgress(TimeIntervalFinder timeIntervalFinder, @Nonnull JulianDate startDate, @Nonnull JulianDate endDate, @Nonnull Duration complete)
timeIntervalFinder - The time interval finder that is reporting progress.startDate - The first date to be evaluated.endDate - The last date to be evaluated.complete - The quantity of time for which the computation has been completed.public final TimeIntervalFinder getTimeIntervalFinder()
@Nonnull public final JulianDate getStartDate()
@Nonnull public final JulianDate getEndDate()
@Nonnull public final Duration getTotalDuration()
@Nonnull public final Duration getDurationComplete()
public final int getPercentComplete()