ISPCalendar.DateToJulianDay Method

Returns the Julian day of the specified date.

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

Syntax

'Declaration
Function DateToJulianDay ( _
    ByRef di As SimpleDate, _
    iAdvance As Integer, _
    jDayCurrent As Integer _
) As Integer
'Usage
Dim instance As ISPCalendar
Dim di As SimpleDate
Dim iAdvance As Integer
Dim jDayCurrent As Integer
Dim returnValue As Integer

returnValue = instance.DateToJulianDay(di, _
    iAdvance, jDayCurrent)
int DateToJulianDay(
    ref SimpleDate di,
    int iAdvance,
    int jDayCurrent
)

Parameters

  • iAdvance
    Type: System.Int32

    The advance value to use for a Hijri calendar date.

  • jDayCurrent
    Type: System.Int32

    An integer value that represents the current Julian day to use when evaluating a Hijri calendar date.

Return Value

Type: System.Int32
An integer that represents the Julian day of the specified date.

See Also

Reference

ISPCalendar Interface

ISPCalendar Members

Microsoft.SharePoint.Utilities Namespace