Parse a translated display string (e.g. '2 hours') into a TimeSpan
Namespace: Seal.HelpersAssembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic static TimeSpan ToTimeSpan(
string str,
Repository repository
)
Parameters
- str String
-
- repository Repository
-
Return Value
TimeSpan
See Also