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

Initializes a new instance of the DateWithZoneDateWithZoneDateWithZone structure which is a specified number of days past the epoch (0001-01-01T00:00) in the specified time zone.

Syntax

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

Parameters

daysPastEpoch

Type: System.Int64System.Int64System::Int64

The number of days past the epoch.

timeZone

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

The time zone (can be null a null reference (Nothing in Visual Basic) nullptr).