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