format

fun DateTimePeriod.format(locale: Locale): String

Convenience function for formatting a DateTimePeriod in the given locale.