JAVA/CORBA CLASSES


adjustHour method
Example

Increments a date-time by the number of hours you specify.

Defined in

DateTime

Syntax

public void adjustHour(int n)
   throws NotesException

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

Parameters

int n


boolean preservelocaltime
Usage

If the DateTime object consists of only a date component, this method has no effect.

The number of hours by which you increment a DateTime object can cause the date component to be adjusted, too. For example, if the adjustment is +24, the date component changes to the next calendar day.

Language cross-reference

AdjustHour method in LotusScript NotesDateTime class

@Adjust function in formula language

Example
See Also