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)
Available in Sandboxed Solutions: No

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