Hacker News new | ask | show | jobs
by hyperpape 2168 days ago
I agree Temporal is an odd name for the object representing an Instant. But it shouldn't be Date either. A Date does not have a time associated with it.

Java really did a good job here: Instant, LocalDate, LocalDateTime, ZonedDateTime. (If they hadn't already had java.util.Date, they probably could've replaced LocalDate/LocalDateTime with Date/DateTime, but that ship sailed).

1 comments

Temporal is just the namespace. It has classes called DateTime, Date, Time, TimeZone, Duration etc.