Noda Time
FromSeconds Method (seconds)
NamespacesNodaTimeDurationFromSeconds(Int64)

[This is preliminary documentation and is subject to change.]

Returns a Duration that represents the given number of seconds.
Declaration Syntax
C#Visual BasicVisual C++
public static Duration FromSeconds(
	long seconds
)
Public Shared Function FromSeconds ( _
	seconds As Long _
) As Duration
public:
static Duration FromSeconds(
	long long seconds
)
Parameters
seconds (Int64)
The number of seconds.
Return Value
A Duration representing the given number of seconds.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)