Is this a valid way to check whether a Timezone is valid or is there a better way?
try { DateTimeZone dtz = DateTimeZone.forID("America/Denve"); } catch (IllegalArgumentException iae) { System.out.println("The timezone enter is not valid. " + iae); } I am parsing a properties file where a user would type in the timezone and I would prefer it correct before using. Thanks Mike ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest