The MsAutoPeriodOptions enumeration contains the conditions that set the calculation period.
It is used by the following properties and methods:
Value |
Brief description |
0 |
None. Clears 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 forecast 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 forecast period start date equals to the sample period end date plus the specified number of periods. |
16 |
ForecastEndByFact. The forecast 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 forecast 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 forecast 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 forecast 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 forecast period end date is determined by the forecast period end date for the calculated object owner. |
32768 |
ForecastStartAsNow. The forecast 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 forecast period start date equals to the sample period start date plus the specified number of periods. |
131072 |
ForecastStartByIdentEnd. The forecast 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 forecast period start date equals to the forecast period end date minus the specified number of periods. |
524288 |
ForecastStartByOwner. The forecast period start date is determined by the forecast period start date for the calculated object owner. |
552960 |
AllByOwner. Combination of the IdentStartByOwner, IdentEndByOwner, ForecastStartByOwner, ForecastEndByOwner values. |
1048576 |
ForecastEndByForecastStart. The forecast period end date equals to the forecast 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.
Forecast start - IMsModelPeriod.ForecastStartOffset.
Forecast end - IMsModelPeriod.ForecastEndOffset.
See also: