Date Constructor (Int32, Int32, Int32) |
Initializes a new date from the month, day, and year.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Date(
int month,
int day,
int year
)
Parameters
- month
- Type: SystemInt32
the month (between 1 and 12) - day
- Type: SystemInt32
the day (between 1 and 28-31, depending on the month) - year
- Type: SystemInt32
the year
Exceptions
See Also