Saving time zone setting |
Post Reply |
Author | |
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
Posted: 31 August 2006 at 9:49pm |
What is the best way to save the time zone settings so that they stick each time the program is run. I need to be able to save some value that represents the time zone. Is it safe to use the name as a unique identifier or is there some other method that would work better? I would also need to be able to quickly get a CalendarTimeZone object based on the unique identifier. Is this possible without looping through all the time zones?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
We do use
CalendarTimeZone.StandardName
member as unique identifier
(compare no case).
To find -- just iterate
CalendarTimeZones. This is quite fast operation (not critical for performance).
-- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |