JAVA/CORBA クラス


adjustMonth メソッド

指定した月数だけ日付/時刻を増やします。

定義が行われるクラスDateTime
構文public void adjustMonth(int n)
throws NotesException

public void adjustMonth(int n, boolean preservelocaltime)
throws NotesException

パラメータint n


boolean preservelocaltime
使用法DateTime オブジェクトが時刻の要素だけの場合、このメソッドは機能しません。
DateTime オブジェクトを増分する月数により、年の要素も増分される場合があります。たとえば、調整が +12 の場合、日付の要素は翌年の日付に変更されます。

クロスリファレンスLotusScript NotesDateTime クラスの AdjustMonth メソッド
式言語の @Adjust 関数


関連項目