Share via


ISPCalendar.GetEraOffset method

Returns the integer offset to use for dates in the specified era.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Function GetEraOffset ( _
    era As Integer _
) As Integer
'Usage
Dim instance As ISPCalendar
Dim era As Integer
Dim returnValue As Integer

returnValue = instance.GetEraOffset(era)
int GetEraOffset(
    int era
)

Parameters

  • era
    Type: System.Int32

    An integer value that represents an era.

Return value

Type: System.Int32
An integer value that represents the offset.

See also

Reference

ISPCalendar interface

ISPCalendar members

Microsoft.SharePoint.Utilities namespace