ILaner.EndDate

Syntax

EndDate: DateTime;

Description

The EndDate property determines the date, after which workbook values are not displayed.

Comments

If the EndDate value is not set, the date of workbook data display end is determined with the ILaner.EndDateParamId property.

If the EndDate and ILaner.EndDateParamId properties are set, the date of workbook data display end is determined with the last set property.

The date of data display end must be greater than that of data display start. To set the date of workbook data display start, use the ILaner.StartDate property.

The EndDate property affects only the data display in the workbook. To determine the calculation options of a specific series, use the ILanerTransformPeriod interface.

Example

Executing the example requires a form with the Button1 button, the LanerBox component named LanerBox1and the UiErAnalyzer component named UiErAnalyzer1, which is a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer1.

Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Analyzer: IEaxAnalyzer;
    Laner: Ilaner;
Begin
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    Laner := Analyzer.Laner;
    Laner.StartDate := DateTime.ComposeDay(19900201);
    Laner.EndDate := DateTime.ComposeDay(20150501);
End Sub Button1OnClick;

After executing this example the workbook data display period is changed:

See also:

ILaner