box-o-sand/oldstuff/scala/official-tutorial/FrenchDate.scala
2015-06-22 13:15:42 -05:00

14 lines
294 B
Scala

import java.util.{Date, Locale}
import java.text.DateFormat
import java.text.DateFormat._
object FrenchDate {
def main(args: Array[String]) {
val now = new Date
val df = getDateInstance(LONG, Locale.FRANCE)
println(df format now)
}
}
// vim: set ts=4 sw=4 et: