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 public static Duration FromTimeSpan(
TimeSpan timespan
)
Parameters
- timespan
- Type: SystemTimeSpan
Return Value
Type:
DurationSee Also