Package com.walkfares.odsl.var.curve
Class VarCurveDates
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.VersionedVar
com.walkfares.odsl.var.timeseries.VarTimeSeries
com.walkfares.odsl.var.curve.VarCurveDates
- All Implemented Interfaces:
Convertible
,BasicValidation
,ListProvider
,DynamicVar
,Var
public class VarCurveDates extends VarTimeSeries
-
Constructor Summary
Constructors Constructor Description VarCurveDates()
-
Method Summary
Modifier and Type Method Description Var
_clone()
VarTimeSeries
add(VarDate index, Var value)
VarTimeSeries
addReference(TimeReference tr)
VarTimeSeries
addReferences(List<TimeReference> values)
Var
get(UTCDate date)
UTCDate
getEnd()
String
getExiryCalendar()
TimeReference
getPreviousOndate(UTCDate date)
List<TimeReference>
getReferences()
VarSmartCurve
getSmartcurve()
VarList
getValues()
VarTimeSeries
last(int n)
VarCurveDates
merge(VarCurveDates other)
VarCurveDates
setExiryCalendar(String exiryCalendar)
VarCurveDates
setSmartcurve(VarSmartCurve smartcurve)
int
size()
void
sort()
void
withRange(UTCDate start, UTCDate end)
Methods inherited from class com.walkfares.odsl.var.timeseries.VarTimeSeries
add, add, add, add, add, add, add, addAll, addAll, addCheck, addObservations, addValue, applyChanges, clear, convert, convert, from, get, get, getAbsolute, getCalendar, getChecks, getCurrency, getDataid, getDataType, getDescription, getElements, getEndString, getId, getLastNValues, getLocalValues, getName, getObjid, getObjtype, getObservations, getObserved, getPrecision, getProperties, getReference, getSource, getStart, getStartAsLocalDate, getStartAsLocalDateTime, getStartAsVarDate, getStartString, getStatus, getSubtype, getTenor, getTimeValue, getTimeValues, getTimezone, getType, getUnits, getValuesAsDoubles, getValuesAsScalars, getValueType, mergeMetaData, performBasicValidation, range, realign, set_Id, setCalendar, setChecks, setCurrency, setDataid, setDataType, setDescription, setName, setObjid, setObjtype, setObserved, setPrecision, setProperties, setSource, setStart, setSubtype, setTenor, setTimezone, setUnits, setValueType, toMatrix, toMatrix, toMatrix, toMatrix, toMatrix, withStatus
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks, toString, tryConvert
-
Constructor Details
-
VarCurveDates
public VarCurveDates()
-
-
Method Details
-
add
- Overrides:
add
in classVarTimeSeries
-
addReferences
-
addReference
-
getReferences
-
merge
-
get
- Specified by:
get
in interfaceListProvider
- Overrides:
get
in classVarTimeSeries
-
getPreviousOndate
-
getValues
- Overrides:
getValues
in classVarTimeSeries
-
getSmartcurve
-
setSmartcurve
-
getExiryCalendar
-
setExiryCalendar
-
getEnd
- Overrides:
getEnd
in classVarTimeSeries
-
size
public int size()- Specified by:
size
in interfaceListProvider
- Overrides:
size
in classVarTimeSeries
-
_clone
- Specified by:
_clone
in interfaceVar
- Overrides:
_clone
in classVarTimeSeries
-
withRange
- Overrides:
withRange
in classVarTimeSeries
-
last
- Overrides:
last
in classVarTimeSeries
-
sort
public void sort()- Overrides:
sort
in classVarTimeSeries
-