System::Globalization::Calendar::AddSeconds 方法
Calendar::AddSeconds method
向时间点添加秒数。
virtual DateTime System::Globalization::Calendar::AddSeconds(DateTime time, int seconds) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 时间 | DateTime | 原始时间点值。 |
| 秒 | int | 要添加的秒数。 |
ReturnValue
计算完成后的时间点。
另见
- Class DateTime
- Class Calendar
- Namespace System::Globalization
- Library Aspose.Font for C++