[This is preliminary documentation and is subject to change.]
Constructs an instance for the given year, month and day in the specified calendar.

C# | Visual Basic | Visual C++ |
public LocalDate( int year, int month, int day, CalendarSystem calendar )
Public Sub New ( _ year As Integer, _ month As Integer, _ day As Integer, _ calendar As CalendarSystem _ )
public: LocalDate( int year, int month, int day, CalendarSystem^ calendar )

- year (Int32)
- The year. This is the "absolute year", so, for the ISO calendar, a value of 0 means 1 BC, for example.
- month (Int32)
- The month of year.
- day (Int32)
- The day of month.
- calendar (CalendarSystem)
- Calendar system in which to create the date.

The resulting date.

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The parameters do not form a valid date. |
ArgumentNullException | calendar is null. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)