Class TimeWindow
- java.lang.Object
-
- software.amazon.spapi.models.shipping.v2.TimeWindow
-
public class TimeWindow extends java.lang.Object
The start and end time that specifies the time interval of an event.
-
-
Constructor Summary
Constructors Constructor Description TimeWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeWindow
end(org.threeten.bp.OffsetDateTime end)
boolean
equals(java.lang.Object o)
org.threeten.bp.OffsetDateTime
getEnd()
The end time of the time window.org.threeten.bp.OffsetDateTime
getStart()
The start time of the time window.int
hashCode()
void
setEnd(org.threeten.bp.OffsetDateTime end)
void
setStart(org.threeten.bp.OffsetDateTime start)
TimeWindow
start(org.threeten.bp.OffsetDateTime start)
java.lang.String
toString()
-
-
-
Method Detail
-
start
public TimeWindow start(org.threeten.bp.OffsetDateTime start)
-
getStart
public org.threeten.bp.OffsetDateTime getStart()
The start time of the time window.- Returns:
- start
-
setStart
public void setStart(org.threeten.bp.OffsetDateTime start)
-
end
public TimeWindow end(org.threeten.bp.OffsetDateTime end)
-
getEnd
public org.threeten.bp.OffsetDateTime getEnd()
The end time of the time window.- Returns:
- end
-
setEnd
public void setEnd(org.threeten.bp.OffsetDateTime end)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-