• Post Reply Bookmark Topic Watch Topic
  • New Topic

disable historical daylight saving support  RSS feed

 
Wasim Ayoubi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am wondering if I can disable historical daylight saving from JVM, it is causing dates problems.

Here is an Example of my investigation, I am in Jordan /Middle East and I am Africa/Cairo Timezone

I am just trying print dates System.out.println(new Date()); the problem is in the hour of the date.

Using Java 1.4.2 (Current Machine Time 11 AM)
Date****Africa/Cairo +02:00*****GMT+02:00*******GMT+3:00
Jan_____11______________________11______________12
Feb_____11______________________11______________12
Mar_____11______________________11______________12
27-Apr___11______________________11______________12
28-Apr___12______________________11______________12
29-Apr___12______________________11______________12
30-Apr___12______________________11______________12
1-May___12______________________11______________12
2-May___12______________________11______________12
3-May___12______________________11______________12
4-May___12______________________11______________12
5-May___11______________________10______________11
May_____11______________________10______________11
Jun_____11______________________10______________11
Jul_____11______________________10______________11
Aug_____11______________________10______________11
26-Sep__11______________________10______________11
27-Sep__12______________________11______________12
28-Sep__12______________________11______________12
29-Sep__11______________________11______________12
Oct_____11______________________11______________12
Nov_____11______________________11______________12
Dec_____11______________________11______________12

[ April 05, 2006: Message edited by: Wasim Ayoubi ]

[ April 05, 2006: Message edited by: Wasim Ayoubi ]

[ April 05, 2006: Message edited by: Wasim Ayoubi ]
[ April 05, 2006: Message edited by: Wasim Ayoubi ]
 
Wasim Ayoubi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made many changes to make it possible to view as a table, I have a question why don't Javaranch Support Images and Tables
Thanx
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!