Implement DifferenceInstant
and related refactor
#3568
Merged
DifferenceInstant
and related refactor
#3568