Initializes a new instance of the Date structure to the specified year, month, and day.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public Date( int year, int month, int day ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ year As Integer, _ month As Integer, _ day As Integer _ ) |
Parameters
- year
- Type: System..::.Int32
The year (1 through 9999).
- month
- Type: System..::.Int32
The month (1 through 12).
- day
- Type: System..::.Int32
The day (1 through the number of days in month).