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

Method Time32Type

cpp/src/arrow/type.cc:1158–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1156 : TemporalType(type_id), unit_(unit) {}
1157
1158Time32Type::Time32Type(TimeUnit::type unit) : TimeType(Type::TIME32, unit) {
1159 ARROW_CHECK(unit == TimeUnit::SECOND || unit == TimeUnit::MILLI)
1160 << "Must be seconds or milliseconds";
1161}
1162
1163std::string Time32Type::ToString(bool show_metadata) const {
1164 std::stringstream ss;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected