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

Function format

cpp/src/arrow/util/chrono_internal.h:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166// Converts "%H%M" style to C++20's "{:%H%M}" style and uses std::vformat
167template <typename Duration>
168std::string format(const char* fmt, const Duration& d) {
169 return std::vformat(std::string("{:") + fmt + "}", std::make_format_args(d));
170}
171
172inline constexpr std::chrono::month jan = std::chrono::January;
173inline constexpr std::chrono::month dec = std::chrono::December;

Callers 7

CountRowsMethod · 0.85
VisitMethod · 0.85
MakeTimeFormatterMethod · 0.85
ToIntegerStringMethod · 0.85
get_infoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected