13 this->
set(other.m_timeBase,other.m_timeContext,other.m_seconds,other.m_useconds);
21 this->
set(timeBase,0,seconds,useconds);
25 this->
set(this->m_timeBase,this->m_timeContext,seconds,useconds);
29 this->
set(timeBase,this->m_timeContext,seconds,useconds);
33 this->
set(timeBase,context,seconds,useconds);
37 this->m_timeBase = timeBase;
38 this->m_timeContext = context;
39 this->m_useconds = useconds;
40 this->m_seconds = seconds;
44 this->m_timeBase = other.m_timeBase;
45 this->m_timeContext = other.m_timeContext;
46 this->m_useconds = other.m_useconds;
47 this->m_seconds = other.m_seconds;
70 return ((
GT == c) or (
EQ == c));
75 return ((
LT == c) or (
EQ == c));
88 #if FW_USE_TIME_CONTEXT
89 stat = buffer.
serialize(this->m_timeContext);
100 return buffer.
serialize(this->m_useconds);
114 this->m_timeBase =
static_cast<TimeBase>(deSer);
118 #if FW_USE_TIME_CONTEXT
124 this->m_timeContext = 0;
135 return this->m_seconds;
139 return this->m_useconds;
143 return this->m_timeBase;
147 return this->m_timeContext;
153 Time time(timeBase,0, 0, 0);
168 #if FW_USE_TIME_CONTEXT
180 }
else if (s1 > s2) {
182 }
else if (us1 < us2) {
184 }
else if (us1 > us2) {
200 #if FW_USE_TIME_CONTEXT
206 if (uSeconds >= 1000000) {
217 const Time& subtrahend
223 #if FW_USE_TIME_CONTEXT
241 this->m_seconds += seconds;
242 this->m_useconds += useconds;
243 FW_ASSERT(this->m_useconds < 1999999,this->m_useconds);
244 if (this->m_useconds >= 1000000) {
246 this->m_useconds -= 1000000;
251 this->m_timeBase = timeBase;
255 this->m_timeContext = context;
259 std::ostream& operator<<(std::ostream& os,
const Time& val) {