GMonthDay Constructor (int, int, TimeZone?)GMonthDay Constructor (Integer, Integer, Nullable(Of TimeZone))GMonthDay Constructor (int, int, Nullable<TimeZone>)
Initializes a new instance of the GMonthDayGMonthDayGMonthDay structure with the specified month, day and
optional 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.
- timeZone
Type: System.Nullable<T>System.Nullable(Of T)System::Nullable<T>
The optional time zone.
Exceptions
Exception | Condition |
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException | month is outside the range 1 to 12, or day is not a valid day in the specified month. |