GYear Constructor (long, TimeZone?)GYear Constructor (Long, Nullable(Of TimeZone))GYear Constructor (long, Nullable<TimeZone>)

Initializes a new instance of the GYearGYearGYear structure with the specified calendar year and optional time zone.

Syntax

Public Sub New ( _
    year As Long, _
    timeZone As Nullable(Of TimeZone) _
)
public GYear(
    long year,
    Nullable<TimeZone> timeZone
)
public:
GYear(
    long year, 
    Nullable<TimeZone> timeZone
)
 

Parameters

year

Type: System.Int64System.Int64System::Int64

The calendar year.

timeZone

Type: System.Nullable<T>System.Nullable(Of T)System::Nullable<T>

The optional time zone.