Version

SmartDate Constructor(Int32,Int32,Int32)

Creates a new SmartDate instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer _
)
public SmartDate( 
   int year,
   int month,
   int day
)

Parameters

year
The year (1 through 9999).
month
The month (1 through 12).
day
The day number (1 through the number of days in month).
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThrown when one or more of the parameters has a value outside of its domain of acceptable values.
Remarks

Provided for compatibility with DateTime. By default, EmptyIsMin is True for SmartDate instances created using this constructor.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also