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
di
Type: Microsoft.SharePoint.Utilities.SimpleDateThe SimpleDate to evaluate.
iAdvance
Type: System.Int32The advance value to use for a Hijri calendar date.
jDayCurrent
Type: System.Int32An 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.