private void verifyPatternParsing(String pattern, List<TemporalField> temporalFields) {
    verifyPatternParsing(pattern, pattern.length(), pattern.toLowerCase(), temporalFields);
  }
Verify pattern is parsed correctly.
Check:
-token.temporalField for each token
-sum of token.lengths
-concatenation of token.strings
common/src/test/org/apache/hadoop/hive/common/format/datetime/TestHiveSqlDateTimeFormatter.java