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