public static SquireTime operator ^(Time t, int x = 2) { SquireTime newT = new SquireTime(0); newT.timeType = t.timeType; newT.value = t.value * t.value; return newT; }
public static SquireTime operator -(SquireTime t1, SquireTime t2) { SquireTime t3 = new SquireTime(0); t3.value = t1.value - t2.value; return t3; }