aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/Parser.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-17 08:39:26 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-17 13:48:21 -0400
commit876169d832846e4ee1a5eea769771e0e1abcfea2 (patch)
tree99ffd72516043fd213992ee5dbdc28879e9d6ac9 /src/org/traccar/helper/Parser.java
parente5d29490af8e0d7f95519ffd93867ff2a0fc861e (diff)
downloadtrackermap-server-876169d832846e4ee1a5eea769771e0e1abcfea2.tar.gz
trackermap-server-876169d832846e4ee1a5eea769771e0e1abcfea2.tar.bz2
trackermap-server-876169d832846e4ee1a5eea769771e0e1abcfea2.zip
Renamed millisecond DateTimeFormats as requested;
Diffstat (limited to 'src/org/traccar/helper/Parser.java')
-rw-r--r--src/org/traccar/helper/Parser.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/helper/Parser.java b/src/org/traccar/helper/Parser.java
index aa2f457d3..1b77390b3 100644
--- a/src/org/traccar/helper/Parser.java
+++ b/src/org/traccar/helper/Parser.java
@@ -177,9 +177,9 @@ public class Parser {
SMH_DMY, // SSMMHHDDMMYYYY or SSMMHHDDMMYY
DMY_HMS, // DDMMYYYYHHMMSS or DDMMYYHHMMSS
- DMY_HMSms, // DDMMYYYYHHMMSS.sss or DDMMYYHHMMSS.sss
+ DMY_HMSS, // DDMMYYYYHHMMSS.sss or DDMMYYHHMMSS.sss
YMD_HMS, // YYYYMMDDHHMMSS or YYMMDDHHMMSS
- YMD_HMSms, // YYYYMMDDHHMMSS.sss or YYMMDDHHMMSS.sss
+ YMD_HMSS, // YYYYMMDDHHMMSS.sss or YYMMDDHHMMSS.sss
ISO8601 // YYYY-MM-DDTHH:MM:SS+HH:MM
}
@@ -217,12 +217,12 @@ public class Parser {
day = nextInt(radix); month = nextInt(radix); year = nextInt(radix); // (d{2})(d{2})(d{2}|d{4})
break;
case DMY_HMS:
- case DMY_HMSms:
+ case DMY_HMSS:
day = nextInt(radix); month = nextInt(radix); year = nextInt(radix); // (d{2})(d{2})(d{2}|d{4})
hour = nextInt(radix); minute = nextInt(radix); second = nextInt(radix); // (d{2})(d{2})(d{2})
break;
case YMD_HMS:
- case YMD_HMSms:
+ case YMD_HMSS:
case ISO8601:
default:
year = nextInt(radix); month = nextInt(radix); day = nextInt(radix); // (d{2}|d{4})(d{2})(d{2})
@@ -231,8 +231,8 @@ public class Parser {
}
switch (format) {
- case YMD_HMSms:
- case DMY_HMSms:
+ case YMD_HMSS:
+ case DMY_HMSS:
millisecond = nextInt(radix); // (ddd)
break;
case ISO8601: