Class Timeslot
- java.lang.Object
-
- employeerostering.employeerostering.Timeslot
-
- All Implemented Interfaces:
Serializable
public class Timeslot extends Object implements Serializable
TODO Remove @XStreamConverter for java.time attributes once converters are provided by XStream out of the box.- See Also:
- XStream#75, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Timeslot()Timeslot(LocalDateTime startTime, LocalDateTime endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDateTimegetEndTime()LocalDateTimegetStartTime()voidsetEndTime(LocalDateTime endTime)voidsetStartTime(LocalDateTime startTime)
-
-
-
Constructor Detail
-
Timeslot
public Timeslot()
-
Timeslot
public Timeslot(LocalDateTime startTime, LocalDateTime endTime)
-
-
Method Detail
-
getStartTime
public LocalDateTime getStartTime()
-
setStartTime
public void setStartTime(LocalDateTime startTime)
-
getEndTime
public LocalDateTime getEndTime()
-
setEndTime
public void setEndTime(LocalDateTime endTime)
-
-