GMonthDay Constructor (int, int)GMonthDay Constructor (Integer, Integer)GMonthDay Constructor (int, int)
Initializes a new instance of the GMonthDayGMonthDayGMonthDay structure with the specified month and day, but
without a time zone.
Parameters
- month
Type: System.Int32System.Int32System::Int32
The month of the year.
- day
Type: System.Int32System.Int32System::Int32
The day of the month.
Exceptions
Exception | Condition |
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException | month is outside the range 1 to 12, or day is not a valid day in the specified month. |