Fix date initialization in NetconfOperationServiceImplTest. 99/3799/2
authorTomas Olvecky <tolvecky@cisco.com>
Tue, 17 Dec 2013 17:44:46 +0000 (18:44 +0100)
committerTomas Olvecky <tolvecky@cisco.com>
Tue, 17 Dec 2013 17:47:48 +0000 (18:47 +0100)
commit5309045eb35792668445a0ece3ed4f152d09d5e5
tree0de12f72d2d222f0c19a2bb07001140e91f8ec9a
parent12c81a67161098bfc9036bd07b07e9f29d447b14
Fix date initialization in NetconfOperationServiceImplTest.

Use SimpleDateFormat instead of Date(0) as the later fixes the date to UTC rendering local date to
1969-12-31 for timezones > 0

Change-Id: I455610603e66b9748df8e5b035761ca22617c4eb
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
opendaylight/netconf/config-netconf-connector/src/test/java/org/opendaylight/controller/netconf/confignetconfconnector/osgi/NetconfOperationServiceImplTest.java