Checks if a given datetime string is according to the given format
The string to test
LDML format string (see LDML.md)
Allow trailing string after the date+time
Locale-specific constants such as month names
true iff the string is valid
nothing
Checks if a given datetime string is according to the given format