Click or drag to resize
ValidationHelperIsTimeSpan Method
Returns true if the object representation matches the TimeSpan type.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static bool IsTimeSpan(
	Object value,
	CultureInfo culture = null
)

Parameters

value
Type: SystemObject
Value to check
culture (Optional)
Type: System.GlobalizationCultureInfo
Culture for conversion

Return Value

Type: Boolean
See Also