GDay Constructor (int)GDay Constructor (Integer)GDay Constructor (int)

Initializes a new instance of the GDayGDayGDay class with the specified day of the month, but without a time zone.

Syntax

Public Sub New ( _
    day As Integer _
)
public GDay(
    int day
)
public:
GDay(
    int day
)
 

Parameters

day

Type: System.Int32System.Int32System::Int32

The day of the month.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException day is outside the range 1 to 31.