commit | 5aa4cdf7834efbf2564f24a667620d0654a115ff | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Wed May 03 14:48:34 2017 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Thu May 11 22:19:27 2017 +0000 |
tree | eae63cea8d313d59d7e839b88c4cb8257e17c755 | |
parent | 8091877b33b7257d5e25c1e1d8b73f7bc6de91f3 [diff] |
[ONOS-6408] Parse milliseconds in eventTime Change-Id: I84e63b3f3b130084c124b9aeeedfa60e0f270c23
diff --git a/providers/netconf/alarm/src/main/java/org/onosproject/provider/netconf/alarm/NetconfAlarmTranslator.java b/providers/netconf/alarm/src/main/java/org/onosproject/provider/netconf/alarm/NetconfAlarmTranslator.java index 5bab4fd..eeb5ccd 100644 --- a/providers/netconf/alarm/src/main/java/org/onosproject/provider/netconf/alarm/NetconfAlarmTranslator.java +++ b/providers/netconf/alarm/src/main/java/org/onosproject/provider/netconf/alarm/NetconfAlarmTranslator.java
@@ -96,7 +96,7 @@ private long parseDate(String timeStr) throws UnsupportedOperationException, IllegalArgumentException { - return ISODateTimeFormat.dateTimeNoMillis().parseMillis(timeStr); + return ISODateTimeFormat.dateTime().parseMillis(timeStr); } private static String nodeToString(Node rootNode) throws TransformerException {