1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added subtract operator to TimeSpan

This commit is contained in:
Brian Fiete 2022-07-01 08:13:45 -07:00
parent fa0f559537
commit cba96f74ab

View file

@ -196,5 +196,7 @@ namespace System
{
TimeSpanFormat.[Friend]Format(this, format, formatProvider, outStr);
}
public static TimeSpan operator-(Self lhs, Self rhs) => .((int64)lhs - (int64)rhs);
}
}