Hi,
We try to handle with 6 digits milliseconds precision at netconf notification event time but common Date is not enough for this purpose and we are losing precision. For example parsing this time: "2015-10-23T09:42:27.200001Z" with SimpleDateFormat causes that 200001 milliseconds are added to time in addition. Of course, we could cut last 4 digits and then parse time String but we will lose exact time. We found solution with using java 8 time api with using LocalDateTime were we are able to parse? multiple digits at position of milliseconds but problem is DOMEvent interface which provides only method with Date. Is possible to change Date in DOMEvent interface to LocalDateTime? I commit the patch which could show solution: https://git.opendaylight.org/gerrit/#/c/47845/ Deprecated date will have only precision of milliseconds.? Rudolf Brisuda
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev