aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/DateBuilder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 13:12:56 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 13:12:56 +1300
commit387b6286e543c830bf61b4b0e107e9ef4c7eb53d (patch)
tree3558f0a1317fbf6e36465eb6fd1f1f929f9013f0 /src/org/traccar/helper/DateBuilder.java
parenta66a9ceda2b87b054136d073a9db440c29810520 (diff)
downloadtrackermap-server-387b6286e543c830bf61b4b0e107e9ef4c7eb53d.tar.gz
trackermap-server-387b6286e543c830bf61b4b0e107e9ef4c7eb53d.tar.bz2
trackermap-server-387b6286e543c830bf61b4b0e107e9ef4c7eb53d.zip
Implement parser class for decoders
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));
}