Пример #1
0
 static DateTimeSpan SubtractInternal(DateTimeSpan left, Period right)
 {
     return(left - right.AsDateTimeSpan());
 }
Пример #2
0
 static DateTimeSpan SubtractInternal(Period left, DateTimeSpan right)
 {
     return(left.AsDateTimeSpan() - right);
 }
Пример #3
0
 static DateTimeSpan AddInternal(DateTimeSpan left, Period right)
 {
     return(left + right.AsDateTimeSpan());
 }