EastAsianLunisolarCalendar.AddMonths メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > EastAsianLunisolarCalendar.AddMonths メソッドの意味・解説 

EastAsianLunisolarCalendar.AddMonths メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

指定した日付から指定した月数経過した後の日付計算します

名前空間: System.Globalization
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Overrides Function
 AddMonths ( _
    time As DateTime, _
    months As Integer _
) As DateTime
Dim instance As EastAsianLunisolarCalendar
Dim time As DateTime
Dim months As Integer
Dim returnValue As DateTime

returnValue = instance.AddMonths(time, months)
public override DateTime AddMonths (
    DateTime time,
    int months
)
public DateTime AddMonths (
    DateTime time, 
    int months
)
public override function AddMonths (
    time : DateTime, 
    months : int
) : DateTime

パラメータ

time

months加算する対象DateTime オブジェクト

months

加算する月の数。

戻り値
time パラメータ指定した月数加算し結果新しDateTime オブジェクト

例外例外
例外種類条件

ArgumentException

結果DateTime オブジェクトサポートされている範囲外の値です。

ArgumentOutOfRangeException

months が -120000 未満か、120000 よりも大きい値です。

または

time が MinSupportedDateTime より小さい値か、MaxSupportedDateTime より大きい値です。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
EastAsianLunisolarCalendar クラス
EastAsianLunisolarCalendar メンバ
System.Globalization 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

EastAsianLunisolarCalendar.AddMonths メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



EastAsianLunisolarCalendar.AddMonths メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS