Ms > Ms Assembly Interfaces > ITimeSeries > ITimeSeries.EndDate
EndDate: DateTime;
The EndDate property returns end calendar point for series.
This example describes custom method. The data series is passed by points.
Add links to the MathFin, Ms system assemblies.
Public Function UserFunc(Input: ITimeSeries): Double;
Begin
If Input.EndDate > DateTime.Now
Then Return Math.Log10(Input.CurrentValue);
Else Return Double.Nan
End If;
End Function UserFunc;
The method returns the natural series logarithm if its end calendar point is greater than the current date.
See also: