| 693 | } |
| 694 | |
| 695 | constexpr TInstant operator+(const TInstant& i, const TDuration& d) noexcept { |
| 696 | return TInstant::FromValue(::NDateTimeHelpers::SumWithSaturation(i.GetValue(), d.GetValue())); |
| 697 | } |
| 698 | |
| 699 | constexpr TInstant operator-(const TInstant& i, const TDuration& d) noexcept { |
| 700 | return TInstant::FromValue(::NDateTimeHelpers::DiffWithSaturation(i.GetValue(), d.GetValue())); |
nothing calls this directly
no test coverage detected