Share via


SimpleDate constructor (Int32, Int32, Int32, Int32)

Initializes a new instance of the SimpleDate class using the specified year, month, day and era values.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    year As Integer, _
    month As Integer, _
    day As Integer, _
    era As Integer _
)
'Usage
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim era As Integer

Dim instance As New SimpleDate(year, month, _
    day, era)
public SimpleDate(
    int year,
    int month,
    int day,
    int era
)

Parameters

  • year
    Type: System.Int32

    A 32-bit integer representing a year.

  • month
    Type: System.Int32

    A 32-bit integer representing a month.

  • day
    Type: System.Int32

    A 32-bit integer representing a day.

  • era
    Type: System.Int32

    A 32-bit integer representing an era.

See also

Reference

SimpleDate structure

SimpleDate members

SimpleDate overload

Microsoft.SharePoint.Utilities namespace