SPIntlCal.GetEraJulianDay method
傳回指定紀元的第一天的 Julian 日期以指定的行事曆類型。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetEraJulianDay ( _
calType As SPCalendarType, _
era As Integer _
) As Integer
'用途
Dim calType As SPCalendarType
Dim era As Integer
Dim returnValue As Integer
returnValue = SPIntlCal.GetEraJulianDay(calType, _
era)
public static int GetEraJulianDay(
SPCalendarType calType,
int era
)
參數
calType
Type: Microsoft.SharePoint.SPCalendarTypeSPCalendarType物件,表示行事曆類型。
era
Type: System.Int3232 位元整數,表示紀元。
傳回值
Type: System.Int32
整數值,表示紀元的第一天的 Julian 日期。