Created
May 11, 2015 12:01
-
-
Save Odomontois/ea73f9bbfcb4cdc5f1b6 to your computer and use it in GitHub Desktop.
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 characters
scalaVersion := "2.11.6" | |
libraryDependencies += "com.github.nscala-time" %% "nscala-time" % "2.0.0" |
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 characters
import org.joda.time.DateTime | |
import com.github.nscala_time.time.Imports._ | |
(DateTime.now to DateTime.now + 5.day by 1.day).foreach(println) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment