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, getMaxValue, getMinValue, getName, getNormalizedValue, getObservers, getReferenceDate, getReferenceValue, getScale, getValue, getValue, isSelected, removeObserver, replaceObserver, setMaxValue, setMinValue, setName, setNormalizedValue, setReferenceDate, setReferenceValue, setScale, setSelected, setValue, toString
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-2022 CS GROUP. All rights reserved.