public final class TimeRange
extends PersistableValue
It is used by OdiSchedule
to represent daily activation period.
RecurrenceAttributes.TimeOfDay
,
OdiSchedule
Constructor and Description |
---|
TimeRange(RecurrenceAttributes.TimeOfDay pStartTime,
RecurrenceAttributes.TimeOfDay pEndTime)
Constructs the TimeRange with specified start time and end time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
RecurrenceAttributes.TimeOfDay |
getEndTime()
Obtains the end time of range.
|
RecurrenceAttributes.TimeOfDay |
getStartTime()
Obtains the start time of range.
|
int |
hashCode() |
java.lang.String |
toString() |
public TimeRange(RecurrenceAttributes.TimeOfDay pStartTime, RecurrenceAttributes.TimeOfDay pEndTime)
pStartTime
- start timepEndTime
- end timeDomainRuntimeException
- if start time or end time is nullpublic RecurrenceAttributes.TimeOfDay getStartTime()
public RecurrenceAttributes.TimeOfDay getEndTime()
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()