MCPcopy Create free account
hub / github.com/apache/arrow / GetOptChronoMicroseconds

Method GetOptChronoMicroseconds

cpp/src/parquet/stream_reader_test.cc:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 static optional<std::chrono::microseconds> GetOptChronoMicroseconds(const int i) {
133 if ((i + 2) % 7 == 0) {
134 return nullopt;
135 }
136 return std::chrono::microseconds{(ts_offset_ + 3 * i) * 1000000ull + i};
137 }
138
139 private:
140 static std::time_t ts_offset_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected