public class DateDriver extends ParameterDriver implements TimeStamped
Parameter driver
allowing to drive a date.Constructor and Description |
---|
DateDriver(AbsoluteDate base,
String name,
boolean start)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getBaseDate()
Get the base (unshifted) date.
|
AbsoluteDate |
getDate()
Get the shifted date.
|
boolean |
isStart()
Check if driver corresponds to a start date.
|
addObserver, addSpanAtDate, addSpans, getMaxValue, getMinValue, getName, getNameSpan, getNamesSpanMap, getNbOfValues, getNormalizedValue, getNormalizedValue, getObservers, getReferenceDate, getReferenceValue, getScale, getTransitionDates, getValue, getValue, getValue, getValue, getValueContinuousEstimation, getValues, getValueSpanMap, getValueStepEstimation, isContinuousEstimation, isSelected, removeObserver, replaceObserver, setContinuousEstimation, setMaxValue, setMinValue, setName, setNormalizedValue, setNormalizedValue, setReferenceDate, setReferenceValue, setScale, setSelected, setValue, setValue, setValueSpanMap, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
durationFrom
public DateDriver(AbsoluteDate base, String name, boolean start)
At construction, the parameter is configured as not selected,
the reference date is set to null
, the value (i.e. the date offset)
is set to 0, the scale is set to 1 and the minimum and maximum values are
set to negative and positive infinity respectively.
base
- base date corresponding to shift = 0name
- name of the parameterstart
- if true, the driver corresponds to a start datepublic AbsoluteDate getBaseDate()
public boolean isStart()
public AbsoluteDate getDate()
getDate
in interface TimeStamped
Copyright © 2002-2023 CS GROUP. All rights reserved.