Noda Time
FromStandardWeeks Method (weeks)
NamespacesNodaTimeDurationFromStandardWeeks(Int64)
Returns a Duration that represents the given number of weeks, assuming a 'standard' week consisting of seven 24-hour days.
Declaration Syntax
C#Visual BasicVisual C++
public static Duration FromStandardWeeks(
	long weeks
)
Public Shared Function FromStandardWeeks ( 
	weeks As Long
) As Duration
public:
static Duration FromStandardWeeks(
	long long weeks
)
Parameters
weeks (Int64)
The number of weeks.
Return Value
Duration
A Duration representing the given number of weeks.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.1.0.0 (1.1.1)