FormatStringsInDatetimeFormats

Marks declarations in the datetime library that use format strings to define datetime formats.

Format strings are discouraged, because they require gaining proficiency in another tiny language. When possible, please use the builder-style Kotlin API instead. If the format string is a constant, the corresponding builder-style Kotlin code can be obtained by calling DateTimeFormat.formatAsKotlinBuilderDsl on the resulting format. For example:

DateTimeFormat.formatAsKotlinBuilderDsl(LocalTime.Format { byUnicodePattern("HH:mm") })