• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Timezone issue

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using Timezone.getTimeZone("Antarctica/Casey"), certain time zones are returning the valid output. For eg.,



Which suppose to return "MM/dd/yyyy hh:mm aa CAST", but it returning "MM/dd/yyyy hh:mm aa WST".

Like this here are the few other things having issues,

1. Australia/Adelaide - ACST / ACDT
2. Australia/Eucla - ACWST / ACWDT
3. Australia/Sydney - AEST / AEDT
4. Antarctica/Mawson - AHMT
5. Australia/Perth - AWST / AWDT
6. Pacific/Apia - SST.
 
Marshal
Posts: 3649
516
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may need to update your JRE - it appears like the TZ for Casey changed sometime in 2009.

Time Zones of Antarctica
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic