Hi all, I guess I didn't realize how much the database changes. I thought it was infrequent enough to use enums instead of strings, in which case I'd be ok with a Joda library update to capture the changes, but I guess not.
Thanks, Matthew On Thu, Apr 14, 2011 at 7:08 PM, Stephen Colebourne <[email protected]> wrote: > An enum is generally a bad idea for data that may change over time. > The examples below are a good way to find the zones. > > Stephen > > > On 15 April 2011 00:42, Tauren Mills <[email protected]> wrote: >> I'm not sure it would make sense to create an enum of the timezones. >> My understanding is that timezone information is pulled from the Olson >> database installed onto your system or java installation. This >> database can be updated as changes to timezones occur. If there was an >> enum, it would require that JodaTime be recompiled each time the >> database changes instead of just loading the database. >> >> Perhaps I'm mistaken on how this works, and if so, please advise. The >> suggestions others have given should do the trick for getting a list >> of timezones. >> >> >> On Thu, Apr 14, 2011 at 2:34 PM, Matthew Adams <[email protected]> >> wrote: >>> Hi all, >>> >>> Are there enums of the long string ids of timezones somewhere? Like >>> "America/Los_Angeles"? I know we're supposed to use those, but where >>> are they defined? RTFMs are welcome for this question. >>> >>> Thanks, >>> Matthew >>> >>> -- >>> @matthewadams12 >>> mailto:[email protected] >>> skype:matthewadams12 >>> yahoo:matthewadams >>> aol:matthewadams12 >>> google-talk:[email protected] >>> msn:[email protected] >>> http://matthewadams.me >>> http://www.linkedin.com/in/matthewadams >>> >>> ------------------------------------------------------------------------------ >>> Benefiting from Server Virtualization: Beyond Initial Workload >>> Consolidation -- Increasing the use of server virtualization is a top >>> priority.Virtualization can reduce costs, simplify management, and improve >>> application availability and disaster protection. Learn more about boosting >>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >>> _______________________________________________ >>> Joda-interest mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/joda-interest >>> >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> Joda-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/joda-interest >> > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Joda-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/joda-interest > -- @matthewadams12 mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
