GMonth Constructor (int)GMonth Constructor (Integer)GMonth Constructor (int)

Initializes a new instance of the GMonthGMonthGMonth structure with the specified month, but without a time zone.

Syntax

Public Sub New ( _
    month As Integer _
)
public GMonth(
    int month
)
public:
GMonth(
    int month
)
 

Parameters

month

Type: System.Int32System.Int32System::Int32

The month of the year.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException month is outside the range 1 to 12.