OSID Logo
OSID Specifications
locale package
Version 3.0.0
Release Candidate Preview
Interfaceosid.locale.CalendarInfoSession
Implementsosid.OsidSession
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.Typethe calendar type
CompliancemandatoryThis method must be implemented.
MethodgetTimeType
Description

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

Returnosid.type.Typethe time type
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetCalendarInfo
Description

Gets information about the calendar.

Returnosid.locale.CalendarInfocalendar information
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetTimeInfo
Description

Gets information about the time system.

Returnosid.locale.TimeInfotime information
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.