DateRange

Inheritance: java.lang.Object

public final class DateRange

Represents the date range

Constructors

Constructor Description
DateRange(Date startTime, Date endTime) Initializes a new instance of the DateRange class
DateRange() Initializes a new instance of the DateRange class

Methods

Method Description
equals(Object arg0)
getClass()
getEndTime() Gets or sets the end of a time period.
getStartTime() Gets or sets the start of a time period.
hashCode()
notify()
notifyAll()
setEndTime(Date value) Gets or sets the end of a time period.
setStartTime(Date value) Gets or sets the start of a time period.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DateRange(Date startTime, Date endTime)

public DateRange(Date startTime, Date endTime)

Initializes a new instance of the DateRange class

Parameters:

Parameter Type Description
startTime java.util.Date Specifies the start of a time period.
endTime java.util.Date Specifies the end of a time period.

DateRange()

public DateRange()

Initializes a new instance of the DateRange class

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEndTime()

public final Date getEndTime()

Gets or sets the end of a time period.

Returns: java.util.Date

getStartTime()

public final Date getStartTime()

Gets or sets the start of a 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()

setEndTime(Date value)

public final void setEndTime(Date value)

Gets or sets the end of a time period.

Parameters:

Parameter Type Description
value java.util.Date

setStartTime(Date value)

public final void setStartTime(Date value)

Gets or sets the start of a time period.

Parameters:

Parameter Type Description
value java.util.Date

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int