SPIntlCal.IsSupportedLocalDate method
Returns a Boolean value that indicates whether the specified calendar type supports the specified date.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsSupportedLocalDate ( _
calType As SPCalendarType, _
ByRef di As SimpleDate _
) As Boolean
'Usage
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Boolean
returnValue = SPIntlCal.IsSupportedLocalDate(calType, _
di)
public static bool IsSupportedLocalDate(
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.Boolean
true if the calendar type supports the date; otherwise, false.