| Interface | osid.locale.CalendarInfoSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods to examine a calendar. | ||
| Method | getCalendarType | ||
| Description |
Gets the calendar type for the calendar system informational methods in this session. | ||
| Return | osid.type.Type | the calendar type | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTimeType | ||
| Description |
Gets the time system type for the time system informational methods in this session. | ||
| Return | osid.type.Type | the time type | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canExamineCalendars | ||
| 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 | ||
| Return | boolean | false if conversion methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCalendarInfo | ||
| Description |
Gets information about the calendar. | ||
| Return | osid.locale.CalendarInfo | calendar information | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getTimeInfo | ||
| Description |
Gets information about the time system. | ||
| Return | osid.locale.TimeInfo | time information | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |