convert

fun convert(text: String, targetFormat: VgsExpiryDateFormat): String?

Reformats text from this format into targetFormat, or null when text cannot be parsed.