MCPcopy Create free account
hub / github.com/bytedance/bolt / unpackTimestampWithTimeZone

Function unpackTimestampWithTimeZone

bolt/serializers/PrestoSerializer.cpp:627–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627void unpackTimestampWithTimeZone(
628 int64_t packed,
629 int64_t& timestamp,
630 int16_t& timezone) {
631 timestamp = packed >> 12;
632 timezone = packed & 0xfff;
633}
634
635void readTimestampWithTimeZone(
636 ByteInputStream* source,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected