1#pragma once
2
3#include <string>
4#include <Core/ColumnNumbers.h>
5#include <Core/ColumnsWithTypeAndName.h>
6
7
8class DateLUTImpl;
9
10namespace DB
11{
12
13class Block;
14
15/// Determine working timezone either from optional argument with time zone name or from time zone in DateTime type of argument.
16std::string extractTimeZoneNameFromFunctionArguments(const ColumnsWithTypeAndName & arguments, size_t time_zone_arg_num, size_t datetime_arg_num);
17const DateLUTImpl & extractTimeZoneFromFunctionArguments(Block & block, const ColumnNumbers & arguments, size_t time_zone_arg_num, size_t datetime_arg_num);
18
19}
20