Skip to content

Instantly share code, notes, and snippets.

@bdkosher
Created April 7, 2014 17:38
Show Gist options
  • Save bdkosher/10024762 to your computer and use it in GitHub Desktop.
Save bdkosher/10024762 to your computer and use it in GitHub Desktop.
import groovy.time.TimeCategory
[Date, Integer].each { it.mixin(TimeCategory) }
println Date.parse('yyyy-MM-dd', '2014-04-04') + 1.months
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment