C# Class Nintenlord.TimeSpanHelper

Show file Open project: Diegoisawesome/AwesomeMapEditor-old

Public Methods

Method Description
Divide ( this timeSpan, int divideWith ) : System.TimeSpan
Divide ( this timeSpan, System.TimeSpan divideWith ) : int
FloatDivide ( this timeSpan, System.TimeSpan divideWith ) : float
Lerp ( System.TimeSpan beginning, System.TimeSpan end, float i ) : System.TimeSpan
Multiply ( this timeSpan, float value ) : System.TimeSpan
Multiply ( this timeSpan, int value ) : System.TimeSpan
Part ( this timeSpan, int toMultiply, int toDivide ) : System.TimeSpan

Method Details

Divide() public static method

public static Divide ( this timeSpan, int divideWith ) : System.TimeSpan
timeSpan this
divideWith int
return System.TimeSpan

Divide() public static method

public static Divide ( this timeSpan, System.TimeSpan divideWith ) : int
timeSpan this
divideWith System.TimeSpan
return int

FloatDivide() public static method

public static FloatDivide ( this timeSpan, System.TimeSpan divideWith ) : float
timeSpan this
divideWith System.TimeSpan
return float

Lerp() public static method

public static Lerp ( System.TimeSpan beginning, System.TimeSpan end, float i ) : System.TimeSpan
beginning System.TimeSpan
end System.TimeSpan
i float
return System.TimeSpan

Multiply() public static method

public static Multiply ( this timeSpan, float value ) : System.TimeSpan
timeSpan this
value float
return System.TimeSpan

Multiply() public static method

public static Multiply ( this timeSpan, int value ) : System.TimeSpan
timeSpan this
value int
return System.TimeSpan

Part() public static method

public static Part ( this timeSpan, int toMultiply, int toDivide ) : System.TimeSpan
timeSpan this
toMultiply int
toDivide int
return System.TimeSpan