Assembly: Ms;
Namespace: Prognoz.Platform.Interop.Ms;
The IMsDatePeriod interface is used to set up a period including two dates: period start and end.
IMsDatePeriod
Period dates can be set by:
Certain Dates. Use the IMsDatePeriod.Start and IMsDatePeriod.End_ properties.
Conditions Used to Calculate Period Start and End Dates. Use the IMsDatePeriod.AutoPeriod, IMsDatePeriod.StartOffset, IMsDatePeriod.EndOffset properties.
Parameters. Use IMsDatePeriod.StartParam and IMsDatePeriod.EndParam.
Property name | Brief description | |
AutoPeriod | The AutoPeriod property determines conditions used to calculation period start and end dates. | |
Enabled | The Enabled property determines whether a period is set. | |
End_ | The End_ property determines period end date. | |
EndCoord | The EndCoord property determines settings of the coordinate that sets period end date. | |
EndOffset | The EndOffset property determines the number of periods, by which period end date is offset. | |
EndParam | The EndParam property determines the parameter that sets period end date. | |
EndParamID | Outdated. Use EndParam. | |
Start | The Start property determines period start date. | |
StartCoord | The StartCoord property determines settings of the coordinate that sets period start date. | |
StartOffset | The StartOffset property determines the number of periods to which period start date is moved. | |
The StartParam property determines the parameter that sets period start date. | ||
Outdated. Use StartParam. |
Property name | Brief description | |
The IsPeriodEmpty property returns whether the period contains changes made by the user. |
Method name | Brief description | |
The Assign method copies parameters of the specified period to the current period. | ||
The AutoPeriodDates method returns period limits, if conditions to calculate period start and end dates are used. | ||
The ClearPeriod method clears period parameters. |
See also: