scala字符串格式化-StringLike.format()
import scala.collection.immutable.StringLike format(args: Any*)使用本地語言環境 formatLocal(l: Locale, arg ...
import scala.collection.immutable.StringLike format(args: Any*)使用本地語言環境 formatLocal(l: Locale, arg ...
import org.apache.log4j.{ Level, Logger } Logger.getLogger("org").setLevel(Level.WARN) Logger.getL ...
計算時間間隔 val d = new java.text.SimpleDateFormat("yyyyMMdd HH:mm:ss").format(new java.util.Date()) ...