Add more java.time adapters 55/118055/4
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 18 Feb 2021 15:57:23 +0000 (09:57 -0600)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 18 Feb 2021 16:31:55 +0000 (10:31 -0600)
commit00ee2d5b4f1e847d8e272c79f66230aa30cb11d6
tree0244e22a68626e1f2175ec8d7f5c4491f8712948
parent564ef19e77b5f8b47fe54822939e806162b7b5fb
Add more java.time adapters

The time extensions require these adapters for anyone using our
gson adapter to serialize/deserialize the DecisionRequest.

Issue-ID: POLICY-2810
Change-Id: I64a7e4a5a256c77bd67dab867664e41b61cd0050
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
gson/src/main/java/org/onap/policy/common/gson/GsonMessageBodyHandler.java
gson/src/main/java/org/onap/policy/common/gson/LocalDateTypeAdapter.java [new file with mode: 0644]
gson/src/main/java/org/onap/policy/common/gson/OffsetDateTimeTypeAdapter.java [new file with mode: 0644]
gson/src/main/java/org/onap/policy/common/gson/OffsetTimeTypeAdapter.java [new file with mode: 0644]
gson/src/main/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapter.java [new file with mode: 0644]
gson/src/test/java/org/onap/policy/common/gson/LocalDateTypeAdapterTest.java [new file with mode: 0644]
gson/src/test/java/org/onap/policy/common/gson/OffsetDateTimeAdapterTest.java [new file with mode: 0644]
gson/src/test/java/org/onap/policy/common/gson/OffsetTimeTypeAdapterTest.java [new file with mode: 0644]
gson/src/test/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapterTest.java [new file with mode: 0644]