public static TTimeRel operator +(TTimeRel a, TTimeRel b) { TTimeRel timeRel = new TTimeRel(); timeRel.SetRawMilliseconds(a._time + b._time); return(timeRel); }
public static TTimeRel operator -(TTimeAbs a, TTimeAbs b) { if (a._time > b._time) { TTimeRel timeRel = new TTimeRel(); timeRel.SetRawMilliseconds(a._time - b._time); return(timeRel); } return(new TTimeRel(0)); }
public TTimeRel(TTimeRel t) { _time = t._time; }