getOrCreateFormatter

fun <T : Any> getOrCreateFormatter(name: String, options: Any?, factory: () -> T): T(source)

Get or create a formatter with the given name and options. The options should be a data class with consistent equals/hashCode.