public class DateDriver extends ParameterDriver implements TimeStamped
参数驱动器
允许驱动日期。
Constructor and Description |
---|
DateDriver(AbsoluteDate base, String name, boolean start)
简单构造函数。
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getBaseDate()
获取基准(未偏移)日期。
|
AbsoluteDate |
getDate()
获取偏移后的日期。
|
boolean |
isStart()
检查驱动器是否对应于起始日期。
|
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)
在构造时,参数被配置为未选择,参考日期设置为null
,值(即日期偏移量)设置为0,比例设置为1,最小值和最大值分别设置为负无穷大和正无穷大。
base
- 对应于偏移 = 0 的基准日期
name
- 参数的名称
start
- 如果为true,则驱动器对应于起始日期
public AbsoluteDate getBaseDate()
public boolean isStart()
public AbsoluteDate getDate()
getDate
在接口 TimeStamped
Copyright © 2002-2023 CS GROUP. All rights reserved.