Change Date to Instant and/or Duration
The usage of java.util.Date is discourage in favor of java.time.Instant and/or java.time.Duration.
Implications
-
Item.copyStatecould be removed if TupleHSB is also changed to be immutable, as all states are immutable then. - Handling with Influx can be maybe simplified, as it also used Instant internally