コード例 #1
0
 /// <summary>
 /// Subtracts the given <see cref="FluentTimeSpan"/> from a <see cref="TimeSpan"/> and returns resulting <see cref="FluentTimeSpan"/>.
 /// </summary>
 public static FluentTimeSpan SubtractFluentTimeSpan(this TimeSpan timeSpan, FluentTimeSpan fluentTimeSpan)
 {
     return(FluentTimeSpan.SubtractInternal(timeSpan, fluentTimeSpan));
 }
コード例 #2
0
 /// <summary>
 /// Adds the given <see cref="FluentTimeSpan"/> from a <see cref="TimeSpan"/> and returns resulting <see cref="FluentTimeSpan"/>.
 /// </summary>
 public static FluentTimeSpan AddFluentTimeSpan(this TimeSpan timeSpan, FluentTimeSpan fluentTimeSpan)
 {
     return(fluentTimeSpan.Add(timeSpan));
 }