Compartilhar via


SPIntlCal.GetEraJulianDay Method

Returns the Julian day of the first day of the specified era in the specified calendar type.

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

Syntax

'Declaration
Public Shared Function GetEraJulianDay ( _
    calType As SPCalendarType, _
    era As Integer _
) As Integer
'Usage
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
)

Parameters

  • era
    Type: System.Int32

    A 32-bit integer that represents an era.

Return Value

Type: System.Int32
An integer value that represents the Julian day of the first day of the era.

See Also

Reference

SPIntlCal Class

SPIntlCal Members

Microsoft.SharePoint.Utilities Namespace