[1068429 views]

[]

[toggle ads]

Odi's astoundingly incomplete notes

New entries | Code

How big is int?

Roughly 24 days. That's the number of milliseconds that can be represented by a Java integer. Good to know when you have to be careful of int overflows in millisecond arithmetic and when you can allow for sloppyness.

posted on 2007-12-19 10:41 CET in Code | 0 comments | permalink