Convenience? EpochSeconds for compatibility with UNIX compatibility, EpochMilli for java Date compatibility, from the top of the head.
Edit: Oh, I didn't even understand the question, so one of them is βgetβ and the other is βtoβ: perhaps to remind you that the second is doing the conversion and may fail.
Szocske
source share