Click or drag to resize

HelperFromTimeSpan Method

Convert a TimeSpan to a translated display string (e.g. '2 hours'), or a default value if empty

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

Parameters

val  TimeSpan
 
def  String
 
repository  Repository
 

Return Value

String
See Also