Range

Inheritance: java.lang.Object

public class Range

Time range during which calendar should be regarded as busy.

Constructors

Constructor Description
Range() Initializes a new instance of the Range class.
Range(Date start, Date end) Initializes a new instance of the Range class.

Methods

Method Description
getStart() The start of the time period.
setStart(Date value) The start of the time period.
getEnd() The end of the time period.
setEnd(Date value) The end of the time period.
toString() Returns a String which represents the object instance.

Range()

public Range()

Initializes a new instance of the Range class.

Range(Date start, Date end)

public Range(Date start, Date end)

Initializes a new instance of the Range class.

Parameters:

Parameter Type Description
start java.util.Date The start of the time period.
end java.util.Date The end of the time period.

getStart()

public final Date getStart()

The start of the time period.

Returns: java.util.Date

setStart(Date value)

public final void setStart(Date value)

The start of the time period.

Parameters:

Parameter Type Description
value java.util.Date

getEnd()

public final Date getEnd()

The end of the time period.

Returns: java.util.Date

setEnd(Date value)

public final void setEnd(Date value)

The end of the time period.

Parameters:

Parameter Type Description
value java.util.Date

toString()

public String toString()

Returns a String which represents the object instance.

Returns: java.lang.String - Returns a String which represents the object instance.