initialised time in raceclock (1 line)
This commit is contained in:
@@ -25,6 +25,7 @@ public class RaceClock {
|
|||||||
public RaceClock(ZonedDateTime zonedDateTime) {
|
public RaceClock(ZonedDateTime zonedDateTime) {
|
||||||
this.zoneId = zonedDateTime.getZone();
|
this.zoneId = zonedDateTime.getZone();
|
||||||
this.timeString = new SimpleStringProperty();
|
this.timeString = new SimpleStringProperty();
|
||||||
|
this.time = zonedDateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ZonedDateTime getCurrentZonedDateTime(GPSCoordinate gpsCoordinate) {
|
public static ZonedDateTime getCurrentZonedDateTime(GPSCoordinate gpsCoordinate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user