Link to home
Start Free TrialLog in
Avatar of rkonka123
rkonka123

asked on

Overriding JDK's Default Timezone definitions?

How can override the default Timezone Offets that come along with JDK 1.5?
Is there any property file that I can define?

User.timezone property can help to override but the change lives only during the program execution.
Is there any way to permanently define in a property file?



Avatar of StillUnAware
StillUnAware
Flag of Lithuania image

read this:

http://java.sun.com/docs/books/tutorial/essential/attributes/properties.html

Take a look at part Saving Properties
Avatar of rkonka123
rkonka123

ASKER

Is there any property file that JRE uses for loading timezone info during its startup ?


ASKER CERTIFIED SOLUTION
Avatar of mrigank
mrigank

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mick Barry
I think it gets it from the system settings.
JRE comes with set of supported Timezone codes, i think more than 100 timezone codes and it uses some property file to load this info.

I want to override this file. So is there any way to do this ?










SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial