aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/DateUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/helper/DateUtil.java')
-rw-r--r--src/org/traccar/helper/DateUtil.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/helper/DateUtil.java b/src/org/traccar/helper/DateUtil.java
index 9d4148ac1..0dca88a2b 100644
--- a/src/org/traccar/helper/DateUtil.java
+++ b/src/org/traccar/helper/DateUtil.java
@@ -18,7 +18,10 @@ package org.traccar.helper;
import java.util.Calendar;
import java.util.Date;
-public class DateUtil {
+public final class DateUtil {
+
+ private DateUtil() {
+ }
public static Date correctDay(Date guess) {
return correctDate(new Date(), guess, Calendar.DAY_OF_MONTH);