Created
July 16, 2014 20:44
-
-
Save anonymous/747f7cf6a1e4039ddbf3 to your computer and use it in GitHub Desktop.
else
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String timeZone; | |
try { | |
timeZone = getParam("timezone"); | |
if (null == timeZone) { | |
throw new Exception(); | |
} | |
} catch (final Exception e) { | |
return "US/Eastern"; | |
} | |
return timeZone; |
ttaylorr
commented
Jul 17, 2014
oh yeah. Verbosity in a language makes it Enterprise Ready
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment