Hi ,
Is there any one help me to write the java code for displaying all compatible system time zones and setting the required time zone among those list.
Thanks and regards
Hi ,
Is there any one help me to write the java code for displaying all compatible system time zones and setting the required time zone among those list.
Thanks and regards
It would seem logical to me, to read the API doc for the TimeZone class. Doesn't that sound reasonable to you?
Java isn't designed for accessing lowlevel operating system functions like that.
You may be able to using JNI to call the required operating system functions for the operating system you have in mind, but it's better to use C (for example) for things like that.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.