System::Globalization::Calendar::AddYears メソッド

Calendar::AddYears method

時間点に年を加算します。

virtual DateTime System::Globalization::Calendar::AddYears(DateTime time, int years) const
パラメーター説明
時間DateTime元の時点の値。
int加算する年数。

ReturnValue

計算が完了した後の時点。

参照