Share via


SPIntlCal.EraOffset Method

Returns the offset to use for dates in the specified calendar type and era.

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

Syntax

'Declaration
Public Shared Function EraOffset ( _
    calType As SPCalendarType, _
    era As Integer _
) As Integer
'Usage
Dim calType As SPCalendarType
Dim era As Integer
Dim returnValue As Integer

returnValue = SPIntlCal.EraOffset(calType, _
    era)
public static int EraOffset(
    SPCalendarType calType,
    int era
)

Parameters

  • era
    Type: System.Int32

    A 32-bit integer that represents an era.

Return Value

Type: System.Int32
A 32-bit integer that represents the offset.

See Also

Reference

SPIntlCal Class

SPIntlCal Members

Microsoft.SharePoint.Utilities Namespace