Created
October 18, 2016 19:44
Revisions
-
iskigow created this gist
Oct 18, 2016 .There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ @Grab(group="joda-time", module="joda-time", version="2.0") import org.joda.time.LocalDate def ini = new LocalDate(2012, 3, 1) def fim = new LocalDate(2012, 3, 5) for (dia in ini..fim) { println "${dia.toString('dd-MM-yyyy')}" }