They are the same. I prefer the latter because it is more descriptive and allows you to select a unit of time (see TimeUnit ): DAYS , HOURS , MICROSECONDS , MILLISECONDS , MINUTES , NANOSECONDS , SECONDS .
Tomasz Nurkiewicz Mar 06 2018-12-12T00: 00Z
source share