in the top example (which compiles correctly in Ko...
# language-proposals
k
in the top example (which compiles correctly in Kotlin ATM), setting
timestamp
from Java would actually look more like what I proposed (because you'd end up with two overloaded methods,
setTimestamp(java.util.Date)
and
setTimestamp(long)
), but in Kotlin you end up with disparate ways to set (
timestamp = myTimestampLong
or
setTimestamp(myDate)
)