mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +02:00
Added subtract operator to TimeSpan
This commit is contained in:
parent
fa0f559537
commit
cba96f74ab
1 changed files with 2 additions and 0 deletions
|
@ -196,5 +196,7 @@ namespace System
|
||||||
{
|
{
|
||||||
TimeSpanFormat.[Friend]Format(this, format, formatProvider, outStr);
|
TimeSpanFormat.[Friend]Format(this, format, formatProvider, outStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static TimeSpan operator-(Self lhs, Self rhs) => .((int64)lhs - (int64)rhs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue