public class HoursOfOperationTimeSlice
extends java.lang.Object
implements java.io.Serializable
The start time or end time for an hours of operation.
| Constructor and Description |
|---|
HoursOfOperationTimeSlice() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getHours()
The hours.
|
java.lang.Integer |
getMinutes()
The minutes.
|
int |
hashCode() |
void |
setHours(java.lang.Integer hours)
The hours.
|
void |
setMinutes(java.lang.Integer minutes)
The minutes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HoursOfOperationTimeSlice |
withHours(java.lang.Integer hours)
The hours.
|
HoursOfOperationTimeSlice |
withMinutes(java.lang.Integer minutes)
The minutes.
|
public java.lang.Integer getHours()
The hours.
Constraints:
Range: 0 - 23
The hours.
public void setHours(java.lang.Integer hours)
The hours.
Constraints:
Range: 0 - 23
hours - The hours.
public HoursOfOperationTimeSlice withHours(java.lang.Integer hours)
The hours.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 23
hours - The hours.
public java.lang.Integer getMinutes()
The minutes.
Constraints:
Range: 0 - 59
The minutes.
public void setMinutes(java.lang.Integer minutes)
The minutes.
Constraints:
Range: 0 - 59
minutes - The minutes.
public HoursOfOperationTimeSlice withMinutes(java.lang.Integer minutes)
The minutes.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 59
minutes - The minutes.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object