aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/orc/c++/src/Timezone.hh
diff options
context:
space:
mode:
authorprimorial <primorial@yandex-team.com>2022-09-28 16:57:04 +0300
committerprimorial <primorial@yandex-team.com>2022-09-28 16:57:04 +0300
commitb327caf7cfb59302e973938a4fa27c45d92a00eb (patch)
treefd0b62b01f77d5277b45cc482cc4bed4602f772b /contrib/libs/apache/orc/c++/src/Timezone.hh
parent4524f6bdbb266ac2004ba894f90bc0ffd4785e7f (diff)
downloadydb-b327caf7cfb59302e973938a4fa27c45d92a00eb.tar.gz
Update contrib/libs/apache/orc to 1.8.0
Diffstat (limited to 'contrib/libs/apache/orc/c++/src/Timezone.hh')
-rw-r--r--contrib/libs/apache/orc/c++/src/Timezone.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libs/apache/orc/c++/src/Timezone.hh b/contrib/libs/apache/orc/c++/src/Timezone.hh
index 136b7a18b7..6c8b861259 100644
--- a/contrib/libs/apache/orc/c++/src/Timezone.hh
+++ b/contrib/libs/apache/orc/c++/src/Timezone.hh
@@ -42,6 +42,10 @@ namespace orc {
bool isDst;
std::string name;
+ bool hasSameTzRule(const TimezoneVariant& other) const {
+ return gmtOffset == other.gmtOffset && isDst == other.isDst;
+ }
+
std::string toString() const;
};