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

Method Call

cpp/src/arrow/compute/kernels/scalar_temporal_binary.cc:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282
283 template <typename T, typename Arg0, typename Arg1>
284 T Call(KernelContext*, Arg0 arg0, Arg1 arg1, Status*) const {
285 auto from = floor<Unit>(localizer_.template ConvertTimePoint<Duration>(arg0));
286 auto to = floor<Unit>(localizer_.template ConvertTimePoint<Duration>(arg1));
287 return static_cast<T>((to - from).count());
288 }
289
290 Localizer localizer_;
291};

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected