IntlDate Constructor (Int32, Int32, Int32, Int32, SPCalendarType)
Initializes a new instance of the IntlDate class and uses the specified integer values for year, month, day, and era, and the specified calendar type.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
year As Integer, _
month As Integer, _
day As Integer, _
era As Integer, _
calendarType As SPCalendarType _
)
'Usage
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim era As Integer
Dim calendarType As SPCalendarType
Dim instance As New IntlDate(year, month, _
day, era, calendarType)
public IntlDate(
int year,
int month,
int day,
int era,
SPCalendarType calendarType
)
Parameters
year
Type: System.Int32A 32-bit integer that represents a year.
month
Type: System.Int32A 32-bit integer that represents a month.
day
Type: System.Int32A 32-bit integer that represents a day.
era
Type: System.Int32A 32-bit integer that represents a day.
calendarType
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.