java.time.LocalDate vs Instant for a 'business date'
问题 I want to represent a 'business date', eg a transaction that happened 'on 3 June 2019'. We actively ignore timezones for this purpose, in full knowledge that 'on 3 June 2019' in Japan might be 'on 2 June 2019' in the US - and ordering within the 'day' is equally irrelevant. All dates will be today, or prior dates. My obvious answer is that this is a LocalDate . However someone else has suggested this would be better represented as an Instant of 2019-06-03T00:00:00.000Z . Apart from the