TimeSpanExtensions ClassCouchbase .NET SDK 2.0

[Missing <summary> documentation for "T:Couchbase.Utils.TimeSpanExtensions"]

Inheritance Hierarchy
System Object
  Couchbase.Utils TimeSpanExtensions

Namespace: Couchbase.Utils
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.2.0 (2.0.2.0)
Syntax
public static class TimeSpanExtensions

The TimeSpanExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberToTtl
Converts a TimeSpan into an uint correctly representing a Time-To-Live, that is expressed in seconds. Durations strictly bigger than 30 days are converted to a unix-syle timestamp (seconds since the Epoch), as described in the couchbase TTL documentation.
Top
See Also