format

fun Calendar.format(pattern: String): String