public TimeZone getTimeZone(ClickHouseConfig config) {
        return this.config.hasOption(ClickHouseClientOption.SERVER_TIME_ZONE) ? this.config.getServerTimeZone()
                : ClickHouseChecker.nonNull(config, ClickHouseConfig.TYPE_NAME).getServerTimeZone();
    }
Gets time zone of the node. When not defined, it will use server time zone
from the given configuration.

@param config non-null configuration to get server time zone
@return time zone of the node
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java