Пример #1
0
 public static Time operator -(Time time1, Time time2)
 {
     Time time = new Time();
     time.Value = time1.Value - time2.Value;
     return time;
 }
Пример #2
0
 public static Time operator /(Distance distance, Speed speed)
 {
     Time time = new Time();
     time.Value = distance.Value / speed.Value;
     return time;
 }
Пример #3
0
 public static Time operator /(Speed speed, Acceleration acceleration)
 {
     Time time = new Time();
     time.Value = speed.Value / acceleration.Value;
     return time;
 }
Пример #4
0
 public static Time operator /(Impulse impulse, Force force)
 {
     Time time = new Time();
     time.Value = impulse.Value / force.Value;
     return time;
 }