ILanerTransformPeriod.IdentificationEndDate

Fore Syntax

IdentificationEndDate: DateTime;

Fore.NET Syntax

IdentificationEndDate: System.DateTime;

Description

The IdentificationEndDate property determines the end date of sample period.

Comments

The property value affects the forecast start date, that is the forecast start date is calculated as the end date of sample period plus one period.

Simultaneous use of the IdentificationEndDate and ILanerTransformPeriod.ForecastStartDate properties is not allowed.

The property value can be changed if ILanerTransformPeriod.PeriodSet contains value of LnTransformPeriodSet.IdentificationEndDate or LnTransformPeriodSet.All. That is why the ILanerTransformPeriod.PeriodSet value needs to be set before changing the IdentificationEndDate value.

If the property value is not set, the end date of sample period is determined by the ILanerTransformPeriod.IdentificationEndDateParamId property.

If the IdentificationEndDate and ILanerTransformPeriod.IdentificationEndDateParamId properties are set, the end date of sample period is determined by the last set property.

Fore Example

Executing the example requires a form containing:

Example is a handler of the OnClick event for the button.

Run the form, select only one calculated series in the workbook and click on the Button1 button. The following procedure is executed:

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Analyzer: IEaxAnalyzer;
    pLaner: ILaner;
    pSeries: ILanerCalculateSerie;
    TransPeriod: ILanerTransformPeriod;
Begin
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    pLaner := Analyzer.Laner;
    pLaner.BeginUpdate;
    pSeries := LanerBox1.SelectedSeries(0As ILanerCalculateSerie;
    TransPeriod := pSeries.TransformPeriod;
    TransPeriod.AutoPeriod := TransformModelAutoPeriodOptions.None;
    TransPeriod.PeriodSet := LnTransformPeriodSet.All;
    TransPeriod.StartDate := DateTime.Parse("01.01.2000");
    TransPeriod.IdentificationEndDate := DateTime.Parse("31.12.2010");
    TransPeriod.EndDate := DateTime.Parse("01.01.2020");
    pLaner.EndUpdate;
End Sub Button1OnClick;

After executing the example the following Options are set for the selected calculated series:

Fore.NET Example

Executing this example requires a .NET form containing:

Example is a handler of the Click event for the button. Run the form, select only one calculated series in the workbook and click on the button1 button. The following procedure is executed:

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Laner;
Imports Prognoz.Platform.Interop.Cubes;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Analyzer: IEaxAnalyzer;
    pLaner: ILaner;
    pSeries: ILanerCalculateSerie;
    TransPeriod: ILanerTransformPeriod;
Begin
    Analyzer := uiErAnalyzerNet1.ErAnalyzer.ErAnalyzer;
    pLaner := Analyzer.Laner;
    pLaner.BeginUpdate();
    pSeries := lanerBoxNet1.SelectedSeries[0As ILanerCalculateSerie;
    TransPeriod := pSeries.TransformPeriod;
    TransPeriod.AutoPeriod := TransformModelAutoPeriodOptions.tmapoNone;
    TransPeriod.PeriodSet := LnTransformPeriodSet.ltpsAll;
    TransPeriod.StartDate := DateTime.Parse("01.01.2000");
    TransPeriod.IdentificationEndDate := DateTime.Parse("31.12.2010");
    TransPeriod.EndDate := DateTime.Parse("01.01.2020");
    pLaner.EndUpdate();
End Sub;

Results of Fore.NET example execution match with those of the Fore example.

See also:

ILanerTransformPeriod