Click or drag to resize

DurationFromTimeSpan Method

Creates a new Duration instance based on the TimeSpan provided.

Consider that 24 hour days (no leap seconds) are used to calculate the days portion.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
public static Duration FromTimeSpan(
	TimeSpan timespan
)

Parameters

timespan
Type: SystemTimeSpan

Return Value

Type: Duration
See Also