DateRange

Inheritance: java.lang.Object

public final class DateRange

Represents the date range

Constructors

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

Methods

MethodDescription
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:

ParameterTypeDescription
startTimejava.util.DateSpecifies the start of a time period.
endTimejava.util.DateSpecifies 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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valuejava.util.Date

setStartTime(Date value)

public final void setStartTime(Date value)

Gets or sets the start of a time period.

Parameters:

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

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int