System::Globalization::Calendar::AddWeeks method
Calendar::AddWeeks method
Adds weeks to time point.
virtual DateTime System::Globalization::Calendar::AddWeeks(DateTime time, int weeks) const
Parameter | Type | Description |
---|---|---|
time | DateTime | Original time point value. |
weeks | int | Number of weeks to add. |
ReturnValue
Time point after calculation is done.
See Also
- Class DateTime
- Class Calendar
- Namespace System::Globalization
- Library Aspose.TeX for C++