diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-03-07 22:42:47 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-03-07 22:42:47 -0800 |
commit | e28ae518fddc930dcb26d70a4456ee1b28fb0ecc (patch) | |
tree | ac8678771bb35156e5537fd13ecfc66950a5ad54 /src/main/java/org/traccar/model | |
parent | 312cd7bd408c978392cacb6ef580288158361ce5 (diff) | |
download | traccar-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.tar.gz traccar-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.tar.bz2 traccar-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.zip |
Rename event time field
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r-- | src/main/java/org/traccar/model/Event.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/model/Event.java b/src/main/java/org/traccar/model/Event.java index 5eee2a0a0..47b74811a 100644 --- a/src/main/java/org/traccar/model/Event.java +++ b/src/main/java/org/traccar/model/Event.java @@ -27,7 +27,7 @@ public class Event extends Message { public Event(String type, long deviceId) { setType(type); setDeviceId(deviceId); - this.serverTime = new Date(); + this.eventTime = new Date(); } public Event() { @@ -62,14 +62,14 @@ public class Event extends Message { public static final String TYPE_DRIVER_CHANGED = "driverChanged"; - private Date serverTime; + private Date eventTime; - public Date getServerTime() { - return serverTime; + public Date getEventTime() { + return eventTime; } - public void setServerTime(Date serverTime) { - this.serverTime = serverTime; + public void setEventTime(Date eventTime) { + this.eventTime = eventTime; } private long positionId; |