formatAdDateByPattern

fun formatAdDateByPattern(pattern: String, year: Int, month: Int, dayOfMonth: Int, language: String): String(source)

Format a Gregorian date with a Unicode-style pattern. The full Gregorian calendar is resolved internally via a round-trip conversion, so day-of-year (D) and week-of-year (w) work.