Click or drag to resize

HelperToTimeSpan Method

Parse a translated display string (e.g. '2 hours') into a TimeSpan

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static TimeSpan ToTimeSpan(
	string str,
	Repository repository
)

Parameters

str  String
 
repository  Repository
 

Return Value

TimeSpan
See Also