OSID Logo
OSID Specifications
locale package
Version 3.1.0
Interfaceosid.locale.CalendarInfoSession
Implementsosid.OsidSession
Used Byosid.locale.LocaleManager
osid.locale.LocaleProxyManager
Description

This session defines methods to examine a calendar.

MethodgetCalendarType
Description

Gets the calendar type for the calendar system informational methods in this session.

Returnosid.type.Type the calendar type
Compliancemandatory This method must be implemented.
MethodgetTimeType
Description

Gets the time system type for the time system informational methods in this session.

Returnosid.type.Type the time type
Compliancemandatory This method must be implemented.
MethodcanExamineCalendars
Description

Tests if this user can perform calendar inspections. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations.

Returnboolean false if conversion methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetCalendarInfo
Description

Gets information about the calendar.

Returnosid.locale.CalendarInfo calendar information
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetTimeInfo
Description

Gets information about the time system.

Returnosid.locale.TimeInfo time information
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.