format

fun format(date: SimpleDate, pattern: NepaliDateFormatter.Pattern, script: DigitScript = DigitScript.LATIN): String(source)

Format date as a Pattern.literal-shaped string with digits in the given script.

No range or selectable-date checks - pass any SimpleDate; the result will reflect it.