IntlDate Constructor (Int32, Int32, Int32, SPCalendarType)

Initializes a new instance of the IntlDate class and uses the specified integer values for year, month, and day, 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, _
    calendarType As SPCalendarType _
)
'Usage
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim calendarType As SPCalendarType

Dim instance As New IntlDate(year, month, _
    day, calendarType)
public IntlDate(
    int year,
    int month,
    int day,
    SPCalendarType calendarType
)

Parameters

  • year
    Type: System.Int32

    A 32-bit integer that represents a year.

  • month
    Type: System.Int32

    A 32-bit integer that represents a month.

  • day
    Type: System.Int32

    A 32-bit integer that represents a day.

See Also

Reference

IntlDate Class

IntlDate Members

IntlDate Overload

Microsoft.SharePoint.Utilities Namespace