createDateRange (Session - Java)

Creates a new DateRange object.

Defined in

Session

Syntax

public DateRange createDateRange()
    throws NotesException
public DateRange createDateRange(DateTime startt, DateTime endt)
    throws NotesException
public DateRange createDateRange(java.util.Date startt, java.util.Date endt)
    throws NotesException

Parameters


DateTime startt

The starting date-time of the range. Cannot be null.


DateTime endt

The ending date-time of the range. Cannot be null.

Date startt

The starting date-time of the range using a java.util.Date object.

Date endt

The ending date-time of the range using a java.util.Date object.

Return value


DateRange

The newly created DateRange object.

Usage

See the DateRange class for descriptions and examples.