System::Globalization::Calendar::AddHours metod
Calendar::AddHours method
Lägger till timmar till tidpunkten.
virtual DateTime System::Globalization::Calendar::AddHours(DateTime time, int hours) const
| Parameter | Typ | Beskrivning |
|---|---|---|
| tid | DateTime | Ursprungligt värde för tidpunkt. |
| timmar | int | Antal timmar att lägga till. |
ReturnValue
Tidpunkt efter beräkning är klar.
Se även
- Class DateTime
- Class Calendar
- Namespace System::Globalization
- Library Aspose.PDF for C++