private Token parseTimeZoneToken(String candidate, boolean fillMode, int begin) {
    checkFillModeOff(fillMode, begin);
    Token lastAddedToken = new Token(TIME_ZONE_TOKENS.get(candidate), candidate,
        getTokenStringLength(candidate), false);
    tokens.add(lastAddedToken);
    return lastAddedToken;
  }
Parse pattern to list of tokens.
common/src/java/org/apache/hadoop/hive/common/format/datetime/HiveSqlDateTimeFormatter.java