Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aphyr
on June 15, 2012
|
parent
|
context
|
favorite
| on:
June 30th 2012 will be 1 second longer: 23:59:60
Yeah, I was reading the same docs with confusion. My coworker cscotta dug down into the source. Oracle's JVM on Linux just calls gettimeofday(), which means System.currentTimeMillis will go all wonky during leap seconds. Ah, documentation. :D
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: