Dan Lew Codes
  • Github
Sign in Subscribe

bugs

A collection of 1 post
android

Obscure SimpleDateFormat Android Issue

This bug should win an award for the most obscure bug I've ever run into this year. Check out this code below: Calendar cal1 = new GregorianCalendar(2012, 5, 11); cal1.setTimeZone(TimeZone.getTimeZone("UTC")); Calendar cal2 = new GregorianCalendar(2012, 5, 12); cal2.setTimeZone(TimeZone.getTimeZone("
05 Jun 2012 1 min read
Page 1 of 1
Dan Lew Codes © 2025
Powered by Ghost