INVALID_DATETIME_PATTERN error class

SQLSTATE: 22007

Unrecognized datetime pattern: <pattern>.

ILLEGAL_CHARACTER

Illegal pattern character found in datetime pattern: <c>. Please provide legal character.

LENGTH

Too many letters in datetime pattern: <pattern>. Please reduce pattern length.