aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/DateBuilder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-23 09:40:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-23 09:40:20 +1300
commitb4d3a5de05422b88e518a173359d45ce13ea4b2b (patch)
tree827b7545b17645f1fa0598fbf19bef52ca9383eb /src/org/traccar/helper/DateBuilder.java
parentc585535761dba635dca000f900cc33d4cc5e4631 (diff)
downloadtrackermap-server-b4d3a5de05422b88e518a173359d45ce13ea4b2b.tar.gz
trackermap-server-b4d3a5de05422b88e518a173359d45ce13ea4b2b.tar.bz2
trackermap-server-b4d3a5de05422b88e518a173359d45ce13ea4b2b.zip
Fix date builder and unit testing
Diffstat (limited to 'src/org/traccar/helper/DateBuilder.java')
-rw-r--r--src/org/traccar/helper/DateBuilder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/helper/DateBuilder.java b/src/org/traccar/helper/DateBuilder.java
index 5d2ee8e0a..094dfff16 100644
--- a/src/org/traccar/helper/DateBuilder.java
+++ b/src/org/traccar/helper/DateBuilder.java
@@ -31,6 +31,7 @@ public class DateBuilder {
public DateBuilder(TimeZone timeZone) {
calendar = Calendar.getInstance(timeZone);
calendar.clear();
+ calendar.setTimeInMillis(0);
}
public DateBuilder setYear(int year) {