minor improvements
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -143,7 +143,8 @@ public class Time implements Mappable{
|
||||
}
|
||||
|
||||
public Time stop(LocalDateTime endTime) {
|
||||
end = endTime.withNano(0);
|
||||
end = endTime.withSecond(0).withNano(0);
|
||||
start = start.withSecond(0).withNano(0);
|
||||
state = State.Open;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user