public class HourIntervalVO extends Object implements Serializable
HourIntervalsVO
,
HourIntervalsPropertyType
,
Serialized FormConstructor and Description |
---|
HourIntervalVO(int from,
int to)
Constructor, no validation is performed in the constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Two HourIntervalVO's are equal if both their from and to are equal.
|
int |
getFrom()
The from hour.
|
int |
getTo()
The to hour.
|
int |
hashCode() |
String |
toString()
Returns a string with "
from to " |
public HourIntervalVO(int from, int to)
from
- the from hour.to
- the to hour.public int getFrom()
public int getTo()
public boolean equals(Object obj)