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?
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?
ASKER
Is there any property file that JRE uses for loading timezone info during its startup ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think it gets it from the system settings.
ASKER
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 ?
I want to override this file. So is there any way to do this ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://java.sun.com/docs/books/tutorial/essential/attributes/properties.html
Take a look at part Saving Properties