Assembly: Ms;
Namespace: Prognoz.Platform.Interop.Ms;
The MsDatePeriod class is used to set period including two dates: period start and end.
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.StartParamID and IMsDatePeriod.EndParamID.
Class to get analog of the Class class:
None;
Class to get analog of the Class class object:
MsDatePeriodClass;
Property name | Brief description | |
AutoPeriod | The AutoPeriod property determines conditions used to calculation period start and end dates. | |
End_ | The End_ property determines period end date. | |
EndOffset | The EndOffset property determines the number of periods, by which period end date is offset. | |
EndParamID | The EndParamID property determines identifier of the parameter which sets period end date. | |
Start | The Start property determines period start date. | |
StartOffset | The StartOffset property determines the number of periods to which period start date is moved. | |
The StartParamID property determines identifier of the parameter determining period start date. |
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: