SPIntlCal.LocalToJulianDay 方法 (SPCalendarType, SimpleDate, Int32, Int32)
在指定的日历类型返回指定日期的 Julian 一天。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function LocalToJulianDay ( _
calType As SPCalendarType, _
ByRef di As SimpleDate, _
iAdvance As Integer, _
jDayCurrent As Integer _
) As Integer
用法
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim iAdvance As Integer
Dim jDayCurrent As Integer
Dim returnValue As Integer
returnValue = SPIntlCal.LocalToJulianDay(calType, _
di, iAdvance, jDayCurrent)
public static int LocalToJulianDay(
SPCalendarType calType,
ref SimpleDate di,
int iAdvance,
int jDayCurrent
)
参数
calType
类型:Microsoft.SharePoint.SPCalendarTypeSPCalendarType对象,该对象表示的日历的类型。
di
类型:Microsoft.SharePoint.Utilities.SimpleDateSimpleDate对象,该对象代表包含的年、 月和日的日期值。
iAdvance
类型:System.Int32一个 32 位整数,表示使用阿拉伯回历日历日期提前数值。
jDayCurrent
类型:System.Int32一个 32 位整数表示当前的 Julian 日期,以评估阿拉伯回历日历日期时使用。
返回值
类型:System.Int32
一个整数值,表示 Julian 日期。