DateTime lib for Scala
- nscala-time
- joda time
- sample code
build.sbt
:libraryDependencies ++= Seq(
"com.github.nscala-time" %% "nscala-time" % "2.18.0",
"org.scalatest" %% "scalatest" % "3.0.4"
)
【scala|scala DateTime 库】Import
import org.joda.time.DateTime
import com.github.nscala_time.time.Imports._