Skip to content

Instantly share code, notes, and snippets.

@Odomontois
Created May 11, 2015 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Odomontois/ea73f9bbfcb4cdc5f1b6 to your computer and use it in GitHub Desktop.
Save Odomontois/ea73f9bbfcb4cdc5f1b6 to your computer and use it in GitHub Desktop.
scalaVersion := "2.11.6"
libraryDependencies += "com.github.nscala-time" %% "nscala-time" % "2.0.0"
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