Hmm, TimeUnit.SECONDS.toMilliseconds(TimeUnit.MILLISECONDS.toSeconds(timestamp)) doesn't look very readable to me :)