Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Handle DayLightSavings in Gregorian Calendar

 
RAVI Kollepara
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
How to handle Day light savings in Gregorian Calendar. Do we need to set any properties or GC itself will take care the things. I am passing milliseconds and Timezone to the GC. I am passing "Asia/Almaty". But the updation is not proper.
Can any one give the suggestion.
Ravi
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, GregorianCalendar should take care of this for you, if it knows the correct Locale. But it's possible there's a bug. Can you provide more specific info about this? Showing some of the code? What's an example of a particular date/time with an incorrect result?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic