Exemplo n.º 1
0
 public static Time operator -(Time time1, Time time2)
 {
     Time time = new Time();
     time.Value = time1.Value - time2.Value;
     return time;
 }
Exemplo n.º 2
0
 public static Time operator /(Distance distance, Speed speed)
 {
     Time time = new Time();
     time.Value = distance.Value / speed.Value;
     return time;
 }
Exemplo n.º 3
0
 public static Time operator /(Speed speed, Acceleration acceleration)
 {
     Time time = new Time();
     time.Value = speed.Value / acceleration.Value;
     return time;
 }
Exemplo n.º 4
0
 public static Time operator /(Impulse impulse, Force force)
 {
     Time time = new Time();
     time.Value = impulse.Value / force.Value;
     return time;
 }