Noda Time
LocalDate Constructor (era, yearOfEra, month, day, calendar)
NamespacesNodaTimeLocalDateLocalDate(Era, Int32, Int32, Int32, CalendarSystem)

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

Constructs an instance for the given era, year of era, month and day in the specified calendar.
Declaration Syntax
C#Visual BasicVisual C++
public LocalDate(
	Era era,
	int yearOfEra,
	int month,
	int day,
	CalendarSystem calendar
)
Public Sub New ( _
	era As Era, _
	yearOfEra As Integer, _
	month As Integer, _
	day As Integer, _
	calendar As CalendarSystem _
)
public:
LocalDate(
	Era^ era, 
	int yearOfEra, 
	int month, 
	int day, 
	CalendarSystem^ calendar
)
Parameters
era (Era)
The era within which to create a date. Must be a valid era within the specified calendar.
yearOfEra (Int32)
The year of era.
month (Int32)
The month of year.
day (Int32)
The day of month.
calendar (CalendarSystem)
Calendar system in which to create the date.
Return Value
The resulting date.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe parameters do not form a valid date.
ArgumentNullExceptioncalendar is null.

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