box-o-sand/scala/official-tutorial/FrenchDate.scala

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: