Convertion ToTimeSpan Method (Object, String, Nullable TimeSpan )Nemiro.Convertion
Converts the value of the specified object to a TimeSpan object.

Namespace: Nemiro
Assembly: Nemiro.Convertion (in Nemiro.Convertion.dll) Version: 2.1.4.402 (2.1.4.402)
Syntax

public static Nullable<TimeSpan> ToTimeSpan(
	Object value,
	string timeSeparator,
	Nullable<TimeSpan> default
)

Parameters

value
Type: System Object
The value to convert.
timeSeparator
Type: System String
The string that separates the components of time, that is, the hour, minutes, and seconds.
default
Type: System Nullable TimeSpan 
The default value is to be returned in the case of conversion errors.

Return Value

Type: Nullable TimeSpan 
See Also