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