Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
calType
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.
di
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate to evaluate.
iAdvance
Type: System.Int32The 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.