diff options
author | primorial <primorial@yandex-team.com> | 2022-09-28 16:57:04 +0300 |
---|---|---|
committer | primorial <primorial@yandex-team.com> | 2022-09-28 16:57:04 +0300 |
commit | b327caf7cfb59302e973938a4fa27c45d92a00eb (patch) | |
tree | fd0b62b01f77d5277b45cc482cc4bed4602f772b /contrib/libs/apache/orc/c++/src/Timezone.hh | |
parent | 4524f6bdbb266ac2004ba894f90bc0ffd4785e7f (diff) | |
download | ydb-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.hh | 4 |
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; }; |