MCPcopy Create free account
hub / github.com/apache/orc / convertToUTC

Method convertToUTC

c++/src/Timezone.cc:608–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606 }
607
608 int64_t convertToUTC(int64_t clk) const override {
609 return clk + getVariant(clk).gmtOffset;
610 }
611
612 int64_t convertFromUTC(int64_t clk) const override {
613 int64_t adjustedTime = clk - getVariant(clk).gmtOffset;

Callers 4

TESTFunction · 0.45
timestampToStringFunction · 0.45
convertToUTCMethod · 0.45
addMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
timestampToStringFunction · 0.36