MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

cpp/src/arrow/util/value_parsing.cc:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 bool operator()(const char* s, size_t length, TimeUnit::type out_unit, int64_t* out,
96 bool* out_zone_offset_present = NULLPTR) const override {
97 if (out_zone_offset_present) {
98 *out_zone_offset_present = have_zone_offset_;
99 }
100 return ParseTimestampStrptime(s, length, format_.c_str(),
101 /*ignore_time_in_day=*/false,
102 /*allow_trailing_chars=*/false, out_unit, out);
103 }
104
105 const char* kind() const override { return "strptime"; }
106

Callers

nothing calls this directly

Calls 1

ParseTimestampStrptimeFunction · 0.85

Tested by

no test coverage detected