The MsAutoPeriodOptions enumeration contains the conditions that set a calculation period.
It is used by the following properties and methods:
Value |
Brief description |
0 |
None. It resets the conditions that specify calculation period. |
1 |
IdentStartByFact. The period start date equals to the first actual input series date plus the specified number of periods. |
2 |
IdentStartByIdentEnd. The sample period start date equals to the sample period end date minus the specified number of periods. |
4 |
IdentEndByFact. The sample period end date equals to the last actual input series date plus the specified number of periods. The forecasting period start date equals to the sample period end date plus one period. |
5 |
IdentByFact. Combination of the IdentStartByFact and IdentEndByFact values. |
8 |
ForecastEndByIdentEnd. The forecasting period start date equals to the sample period end date plus the specified number of periods. |
16 |
ForecastEndByFact. The forecasting period end date equals to the last actual model factors date plus the specified number of periods. |
17 |
AllByFact. Combination of the IdentStartByFact and ForecastEndByFact values. |
32 |
IdentEndAsNow. The sample period end date equals to the current number plus the specified number of periods. The forecasting period start date equals to the sample period end date plus one period. |
64 |
IdentStartAsNow. The sample period start date equals to the current number plus the specified number of periods. |
128 |
ForecastEndAsNow. The forecasting period end date equals to the current number plus the specified number of series. |
256 |
IdentEndByFactStart. The sample period end date equals to the first actual input series date plus the specified number of periods. |
512 |
IdentEndByIdentStart. The sample period end date equals to the sample period start date plus the specified number of periods. |
1024 |
IdentStartByForecastEnd. The sample period start date equals to the sample period end date minus the specified number of periods. |
2048 |
ForecastEndByIdentStart. The forecasting period start date equals to the sample period end date plus the specified number of periods. |
4096 |
IdentStartByOwner. The sample period start date is determined by the sample period start date for the calculated object owner. |
8192 |
IdentEndByOwner. The sample period end date is determined by the sample period end date for the calculated object owner. |
16384 |
ForecastEndByOwner. The forecasting period end date is determined by the forecasting period end date for the calculated object owner. |
32768 |
ForecastStartAsNow. The forecasting period start date equals to the current number plus the specified number of periods. |
32992 |
UseNowAndOffsets. Combination of the IdentEndAsNow, IdentStartAsNow, ForecastStartAsNow and ForecastEndAsNow flags. |
65536 |
ForecastStartByIdentStart. The forecasting period start date equals to the sample period start date plus the specified number of periods. |
131072 |
ForecastStartByIdentEnd. The forecasting period start date equals to the sample period end date plus the specified number of periods. |
131114 |
UseNowAndIdentEndOffsets. Combination of the IdentEndAsNow, IdentStartByIdentEnd, ForecastStartByIdentEnd and ForecastEndByIdentEnd values. The dates of identification start and forecast end are taken with the offset from the sample period end. |
262144 |
ForecastStartByForecastEnd. The forecasting period start date equals to the forecasting period end date minus the specified number of periods. |
524288 |
ForecastStartByOwner. The forecasting period start date is determined by the forecasting period start date for the calculated object owner. |
552960 |
AllByOwner. Combination of the IdentStartByOwner, IdentEndByOwner, ForecastStartByOwner, ForecastEndByOwner values. |
1048576 |
ForecastEndByForecastStart. The forecasting period end date equals to the forecasting period start date plus the specified number of periods. |
To set the number of added or subtracted periods, use the following date properties:
Sample start - IMsModelPeriod.IdentificationStartOffset.
Sample end - IMsModelPeriod.IdentificationEndOffset.
Forecasting start - IMsModelPeriod.ForecastStartOffset.
Forecasting end - IMsModelPeriod.ForecastEndOffset.
See also: