Range

Inheritance: java.lang.Object

public class Range

Time range during which calendar should be regarded as busy.

Constructors

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

Methods

MethodDescription
equals(Object arg0)
getClass()
getEnd()The end of the time period.
getStart()The start of the time period.
hashCode()
notify()
notifyAll()
setEnd(Date value)The end of the time period.
setStart(Date value)The start of the time period.
toString()Returns a String which represents the object instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

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:

ParameterTypeDescription
startjava.util.DateThe start of the time period.
endjava.util.DateThe end of the time period.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEnd()

public final Date getEnd()

The end of the time period.

Returns: java.util.Date

getStart()

public final Date getStart()

The start of the time period.

Returns: java.util.Date

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setEnd(Date value)

public final void setEnd(Date value)

The end of the time period.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setStart(Date value)

public final void setStart(Date value)

The start of the time period.

Parameters:

ParameterTypeDescription
valuejava.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.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int