Searched refs:seconds_ (Results 1 – 2 of 2) sorted by relevance
95 TimeValue() : seconds_(0), nanos_(0) {} in TimeValue()101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() function107 : seconds_( 0 ) , nanos_ ( 0 ) { in TimeValue()109 seconds_ = integer_part; in TimeValue()128 this->seconds_ += that.seconds_ ;138 this->seconds_ -= that.seconds_ ;153 if ( this->seconds_ > that.seconds_ ) {155 } else if ( this->seconds_ == that.seconds_ ) {169 if ( this->seconds_ > that.seconds_ ) {171 } else if ( this->seconds_ == that.seconds_ ) {[all …]
29 seconds_++; in normalize()34 seconds_--; in normalize()39 if (seconds_ >= 1 && nanos_ < 0) { in normalize()40 seconds_--; in normalize()42 } else if (seconds_ < 0 && nanos_ > 0) { in normalize()43 seconds_++; in normalize()