MCPcopy Create free account
hub / github.com/apache/impala / set_time

Method set_time

be/src/runtime/timestamp-value.h:326–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325 void set_date(const boost::gregorian::date d) { date_ = d; Validate(); }
326 void set_time(const boost::posix_time::time_duration t) { time_ = t; Validate(); }
327 const boost::gregorian::date& date() const { return date_; }
328 const boost::posix_time::time_duration& time() const { return time_; }
329

Callers 2

ParseStringMethod · 0.80
TestBoostTimeFunction · 0.80

Calls 1

ValidateFunction · 0.50

Tested by 2

ParseStringMethod · 0.64
TestBoostTimeFunction · 0.64