TimeZone.getTimeZone("US/Mountain") and TimeZone.getTimeZone("MST") are returning different results. Does MST in this java class not represent “Mountain Standard Time”?
TimeZone.getTimeZone(US/Mountain) and TimeZone.getTimeZone(MST) are returning different results. Does MST in this java class not
Share
You should not use the short three letter names (
MST) in Java. This has been deprecated since 1998 (see JDK 1.3 TimeZone).See Sun Alert 102836 for more info on some issues and workarounds, but you should really be using long names (“America/Denver” I believe in this case).