Marc Knaup
08/18/2020, 10:05 PMInstant
be named Timestamp
? The former is so... scientific. Not easy to grasp, esp. for a general purpose programming language.serebit
08/18/2020, 10:35 PMErik Christensen
08/18/2020, 10:56 PMInstant
a Timestamp
in Island Time and using the name Instant
for an interface that's also shared by ZonedDateTime
and OffsetDateTime
. In reality, all three classes describe an instant in time, but in different ways. The purpose of Instant
is as a timestamp, so I think there's an argument for it. I left it as Instant
largely because people are familiar with it in java.time.serebit
08/18/2020, 10:57 PMErik Christensen
08/18/2020, 11:13 PMInstant
is implemented as a timestamp relative to the Unix epoch, so I think you can definitely argue that just calling it a "timestamp" makes it more clear exactly what is -- if you ignore the precedent set by Joda, java.time, and all the derivative libraries out there anyway.