C# Class Evbpc.Framework.Utilities.Extensions.TimeSpanExtensions

Provides certain extension methods for the TimeSpan structure.
Show file Open project: EBrown8534/Framework

Public Methods

Method Description
PercentComplete ( this t, System.TimeSpan target ) : double

Calculates how far into the target TimeSpan the current TimeSpan is.

Method Details

PercentComplete() public static method

Calculates how far into the target TimeSpan the current TimeSpan is.
public static PercentComplete ( this t, System.TimeSpan target ) : double
t this The TimeSpan to test.
target System.TimeSpan The target TimeSpan.
return double