SPIntlCal.DaysInLocalMonth Method (SPCalendarType, SimpleDate)
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 _
) As Integer
'Usage
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Integer
returnValue = SPIntlCal.DaysInLocalMonth(calType, _
di)
public static int DaysInLocalMonth(
SPCalendarType calType,
ref SimpleDate di
)
Parameters
calType
Type: Microsoft.SharePoint.SPCalendarTypeAn SPCalendarType object that represents a calendar type.
di
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate to evaluate.
Return Value
Type: System.Int32
A 32-bit integer that represents the number of days in the month.