@Override
  public void processArguments(String arguments) {
    if (Strings.isNullOrEmpty(arguments)) {
      throw new RuntimeException("illegal timezone arg: " + arguments);
    }
    originalTimeZone = TimeZone.getDefault();
    newTimeZone = TimeZone.getTimeZone(arguments);
    LOG.info("Enabling timezone change: {} => {}", originalTimeZone, newTimeZone);
    enabled = true;
  }
QTest custom timezone handler

Enables a custom timezone for the test.

Example:
--! qt:timezone:Asia/Singapore
itests/util/src/main/java/org/apache/hadoop/hive/ql/qoption/QTestTimezoneHandler.java