Share via


SPIntlCal.IsLocalDateValid method (SPCalendarType, SimpleDate)

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 IsLocalDateValid ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate _
) As Boolean
'Usage
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Boolean

returnValue = SPIntlCal.IsLocalDateValid(calType, _
    di)
public static bool IsLocalDateValid(
    SPCalendarType calType,
    ref SimpleDate di
)

Parameters

Return value

Type: System.Boolean
true if the date is supported; otherwise, false.

See also

Reference

SPIntlCal class

SPIntlCal members

IsLocalDateValid overload

Microsoft.SharePoint.Utilities namespace