Created
October 18, 2016 19:44
-
-
Save iskigow/74c80c1096b17d3a5083f5bc2fe71553 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 characters
@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')}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment