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
getStartTime() Gets or sets the start of a time period.
setStartTime(Date value) Gets or sets the start of a time period.
getEndTime() Gets or sets the end of a time period.
setEndTime(Date value) Gets or sets the end of a time period.

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

getStartTime()

public final Date getStartTime()

Gets or sets the start of a time period.

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

getEndTime()

public final Date getEndTime()

Gets or sets the end of a time period.

Returns: java.util.Date

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