Just knocked up this little beauty and thought I’d share it with the world:
def fmt = String.&format
def fmtDate = fmt.curry('%tY/%<tm/%<td')
def now = new Date()
(-3..3).each { println fmtDate(now + it) }
I liked it, anyway; there’s a lot of Good Stuff going on here…
