Noda Time
FromWeeks Method (weeks)
NamespacesNodaTimePeriodFromWeeks(Int64)

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

Creates a period representing the specified number of weeks.
Declaration Syntax
C#Visual BasicVisual C++
public static Period FromWeeks(
	long weeks
)
Public Shared Function FromWeeks ( _
	weeks As Long _
) As Period
public:
static Period^ FromWeeks(
	long long weeks
)
Parameters
weeks (Int64)
The number of weeks in the new period
Return Value
A period consisting of the given number of weeks.

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