format

fun Calendar.format(pattern: String): String

Important: This is a Public Preview API. It may be changed or removed at any time.