aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/DateBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/helper/DateBuilder.java')
-rw-r--r--src/org/traccar/helper/DateBuilder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/helper/DateBuilder.java b/src/org/traccar/helper/DateBuilder.java
index 17936a329..6e3fbc460 100644
--- a/src/org/traccar/helper/DateBuilder.java
+++ b/src/org/traccar/helper/DateBuilder.java
@@ -59,10 +59,12 @@ public class DateBuilder {
return setDate(year, month, day);
}
+ @Deprecated
public DateBuilder setDate(String year, String month, String day) {
return setDate(Integer.parseInt(year), Integer.parseInt(month), Integer.parseInt(day));
}
+ @Deprecated
public DateBuilder setDateReverse(String day, String month, String year) {
return setDate(year, month, day);
}
@@ -91,6 +93,7 @@ public class DateBuilder {
return setHour(hour).setMinute(minute).setSecond(second);
}
+ @Deprecated
public DateBuilder setTime(String hour, String minute, String second) {
return setTime(Integer.parseInt(hour), Integer.parseInt(minute), Integer.parseInt(second));
}