If we want to deal with 6 digits precision at position of milliseconds, e. g. eventTime = "2015-10-23T09:42:27.200001Z", date class is insufficient. Parsing these strings causes wrong time in resulting Date object. Thus precision is only until milliseconds (2 digits).
We found solution with using LocalDateTime from Java 8 where is precision until nanoseconds but it is not supporting now.
Here is possible solution in controller:
https://git.opendaylight.org/gerrit/#/c/47845/
but it should be moved to md-sal as mentioned: "the corresponding API lives in MD-SAL."
- blocks
-
NETCONF-270 2 digits milliseconds can not be parsed in notification eventTime
- Resolved