Initializes a new instance of the Date structure to the specified year, month, and day for the specified calendar.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public Date(
	int year,
	int month,
	int day,
	Calendar calendar
)
Visual Basic (Declaration)
Public Sub New ( _
	year As Integer, _
	month As Integer, _
	day As Integer, _
	calendar As Calendar _
)

Parameters

year
Type: System..::.Int32
The year (1 through the number of years in calendar).
month
Type: System..::.Int32
The month (1 through the number of months in calendar).
day
Type: System..::.Int32
The day (1 through the number of days in month).
calendar
Type: System.Globalization..::.Calendar
The Calendar that applies to this Date.

See Also