4 ms·
Changing timezones have caused some of the most complicated things in the coding I've done. It seems so simple, but its never right. Look at how many different
by jhawk28 18y ago
Changing timezones have caused some of the most complicated things in the coding I've done. It seems so simple, but its never right. Look at how many different libraries are in the standard Java library to handle time.
- russell 18y agoSun got it wrong the first time and again the second time. I haven't looked at the Java 7 api, but they'll probably get it wrong the third time. OK, I took a quick look. It's better, but still not what I would consider an easily usable system. I will still have to write a parser that will take unconstrained user input. There are 8 or 10 formats that are unambiguous and easy to recognize. Do it. Joda-Time has too many classes. Will it work seamlessly with SQL Date?