formatTime

fun DateFormatter.formatTime(date: Date?): String

Extension to be able to format objects of the deprecated Date type.