public final class TimeRange
extends oracle.odi.domain.support.PersistableValue
It is used by OdiSchedule to represent daily activation period.
RecurrenceAttributes.TimeOfDay,
OdiSchedule,
Serialized Form| 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()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object