Share via


SPIntlCal.DaysInLocalMonth Method (SPCalendarType, SimpleDate, Int32)

Returns the number of days in the month of the specified date in the international calendar.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function DaysInLocalMonth ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate, _
    iAdvance As Integer _
) As Integer
'Usage
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim iAdvance As Integer
Dim returnValue As Integer

returnValue = SPIntlCal.DaysInLocalMonth(calType, _
    di, iAdvance)
public static int DaysInLocalMonth(
    SPCalendarType calType,
    ref SimpleDate di,
    int iAdvance
)

Parameters

  • iAdvance
    Type: System.Int32

    The advance value to use for a Hijri calendar date.

Return Value

Type: System.Int32
A 32-bit integer that represents the number of days in the month.

See Also

Reference

SPIntlCal Class

SPIntlCal Members

DaysInLocalMonth Overload

Microsoft.SharePoint.Utilities Namespace