Package com.illumon.iris.web.shared.data
Class LocalTime
java.lang.Object
com.illumon.iris.web.shared.data.LocalTime
- All Implemented Interfaces:
Serializable
A simple container for serializing local time values.
This should be better for serialization than java.time.LocalTime since we use bytes for
hour, minute and second, and is compatible with GWT (java.time is not available in GWT).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LocalTime
public LocalTime(byte hour, byte minute, byte second, int nano) -
LocalTime
public LocalTime()
-
-
Method Details
-
getHour
public byte getHour() -
setHour
public void setHour(byte hour) -
getMinute
public byte getMinute() -
setMinute
public void setMinute(byte minute) -
getSecond
public byte getSecond() -
setSecond
public void setSecond(byte second) -
getNano
public int getNano() -
setNano
public void setNano(int nano)
-