Last Updated: February 25, 2016
·
525
· bendoerr

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')