List java TimeZones for a region
I don't exactly remember why I needed this, but found it hanging out in a random directory today.
String region = args[0]
println TimeZone.getAvailableIDs().findAll {
it.matches /^(${region}).*/
}.join('\n')
Written by Ben Doerr
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Groovy
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#