OSID Logo
OSID Specifications
locale package
Version 3.1.0
Interfaceosid.locale.LocaleProfile
Implementsosid.OsidProfile
Implemented Byosid.locale.LocaleManager
osid.locale.LocaleProxyManager
Description

The locale profile describes the interoperability of locale services.

MethodsupportsVisibleFederation
Description

Tests if visible federation is supported.

Returnboolean true if visible federation is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsTranslation
Description

Tests if translation is supported.

Returnboolean true if translation is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsTranslationAdmin
Description

Tests if translation administration is supported.

Returnboolean true if translation administration is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsNumericFormatting
Description

Tests if numeric formatting is supported.

Returnboolean true if numeric formatting is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCalendarFormatting
Description

Tests if calendar formatting is supported.

Returnboolean true if calendar formatting is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCurrencyFormatting
Description

Tests if currency formatting is supported.

Returnboolean true if currency formatting is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCoordinateFormatting
Description

Tests if coordinate formatting is supported.

Returnboolean true if coordinate formatting is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsUnitConversion
Description

Tests if unit conversion is supported.

Returnboolean true if unit conversion is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCurrencyConversion
Description

Tests if currency conversion is supported.

Returnboolean true if currency conversion is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCalendarConversion
Description

Tests if calendar conversion is supported.

Returnboolean true if calendar conversion is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCoordinateConversion
Description

Tests if coordnate conversion is supported.

Returnboolean true if coordinate conversion is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsSpatialUnitConversion
Description

Tests if spatial unit conversion is supported.

Returnboolean true if spatial unit conversion is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsFormatConversion
Description

Tests if format conversion is supported.

Returnboolean true if format conversion is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsCalendarInfo
Description

Tests if a calendar informational service is supported.

Returnboolean true if calendar info is supported, false otherwise
Compliancemandatory This method must be implemented.
MethodsupportsLanguageTypesForTranslation
Description

Tests if a given language translation is supported.

Parametersosid.type.TypesourceLanguageType the type of the source language
osid.type.TypesourceScriptType the type of the source script
osid.type.TypetargetLanguageType the type of the target language
osid.type.TypetargetScriptType the type of the target script
Returnboolean true if the given source and target translation is supported, false otherwise
ErrorsNULL_ARGUMENT sourceLanguageType, sourceScriptType, targetLanguageType or targetScriptType is null
Compliancemandatory This method must be implemented.
MethodgetLanguageTypesForSource
Description

Gets the list of target language types for a given source language type.

Parametersosid.type.TypesourceLanguageType the type of the source language
osid.type.TypesourceScriptType the type of the source script
Returnosid.type.TypeList the list of supported types for the given source language type
ErrorsNULL_ARGUMENT sourceLanguageType is null
Compliancemandatory This method must be implemented.
MethodgetSourceLanguageTypes
Description

Gets all the source language types supported.

Returnosid.type.TypeList the list of supported language types
Compliancemandatory This method must be implemented.
MethodgetScriptTypesForLanguageType
Description

Gets the list of script types available for a given language type.

Parametersosid.type.TypelanguageType the type of the language
Returnosid.type.TypeList the list of supported script types for the given language type
ErrorsNULL_ARGUMENT languageType is null
Compliancemandatory This method must be implemented.
MethodsupportsNumericFormatTypes
Description

Tests if a given numeric format type is supported.

Parametersosid.type.TypenumericFormatType the type of the numeric format
Returnboolean true if the given numeric format type is supported, false otherwise
ErrorsNULL_ARGUMENT numericFormatType is null
Compliancemandatory This method must be implemented.
MethodgetNumericFormatTypes
Description

Gets all the numeric format types supported.

Returnosid.type.TypeList the list of supported numeric format types
Compliancemandatory This method must be implemented.
MethodsupportsCalendarTypesForFormatting
Description

Tests if a given calendaring formatting is supported.

Parametersosid.type.TypecalendarType the type of the calendar
osid.type.TypetimeType the type of the time system
osid.type.TypedateFormatType the type of the output date format
osid.type.TypetimeFormatType the type of the output time format
Returnboolean true if formatting with the given types is supported, false otherwise
ErrorsNULL_ARGUMENT calendarType, calendarFormatType, timeType, or timeFormatType is null
Compliancemandatory This method must be implemented.
MethodgetCalendarTypesForFormatting
Description

Gets all the calendar types for which formats are available.

Returnosid.type.TypeList the list of calendar types
Compliancemandatory This method must be implemented.
MethodgetDateFormatTypesForCalendarType
Description

Gets the list of date format types for a given calendar type.

Parametersosid.type.TypecalendarType the type of the calendar
Returnosid.type.TypeList the list of supported date format types
ErrorsNULL_ARGUMENT calendarType is null
Compliancemandatory This method must be implemented.
MethodgetTimeTypesForFormatting
Description

Gets all the time types for which formatting is available.

Returnosid.type.TypeList the list of time types
Compliancemandatory This method must be implemented.
MethodgetTimeFormatTypesForTimeType
Description

Gets the list of time format types for a given time type.

Parametersosid.type.TypetimeType the type of the time
Returnosid.type.TypeList the list of supported time format types
ErrorsNULL_ARGUMENT timeType is null
Compliancemandatory This method must be implemented.
MethodsupportsCurrencyTypesForFormatting
Description

Tests if a given currency formatting is supported.

Parametersosid.type.TypecurrencyType the type of the currency
osid.type.TypenumericFormatType the type of the output currency format
Returnboolean true if formatting with the given types is supported, false otherwise
ErrorsNULL_ARGUMENT currencyType or numericFormatType is null
Compliancemandatory This method must be implemented.
MethodgetCurrencyTypesForFormatting
Description

Gets all the currency types for which formatting is available.

Returnosid.type.TypeList the list of currency types
Compliancemandatory This method must be implemented.
MethodgetCurrencyFormatTypesForCurrencyType
Description

Gets the list of currency format types for a given currency type.

Parametersosid.type.TypecurrencyType the type of the currency
Returnosid.type.TypeList the list of supported currency format types
ErrorsNULL_ARGUMENT currencyType is null
Compliancemandatory This method must be implemented.
MethodsupportsCoordinateTypesForFormatting
Description

Tests if a given coordinate formatting is supported.

Parametersosid.type.TypecoordinateType the type of the coordinate
osid.type.TypecoordinateFormatType the type of the output coordinate format
Returnboolean true if formatting with the given types is supported, false otherwise
ErrorsNULL_ARGUMENT cooridinateType or coodinateFormatType is null
Compliancemandatory This method must be implemented.
MethodgetCoordinateTypesForFormatting
Description

Gets all the coordinate types for which formatting is available.

Returnosid.type.TypeList the list of coordinate types
Compliancemandatory This method must be implemented.
MethodgetCoordinateFormatTypesForCoordinateType
Description

Gets the list of coordinate format types for a given coordinate type.

Parametersosid.type.TypecoordinateType the type of the coordinate
Returnosid.type.TypeList the list of supported coordinate format types
ErrorsNULL_ARGUMENT coordinaterType is null
Compliancemandatory This method must be implemented.
MethodsupportsUnitTypesForConversion
Description

Tests if a given measure conversion is supported.

Parametersosid.type.TypesourceUnitType the type of the source measure
osid.type.TypetargetUnitType the type of the target measure
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceUnitType or targetUnitType is null
Compliancemandatory This method must be implemented.
MethodgetUnitTypesForSource
Description

Gets the list of target measure types for a given source measure type.

Parametersosid.type.TypesourceUnitType the type of the source measure
Returnosid.type.TypeList the list of supported target measure types
ErrorsNULL_ARGUMENT sourceUnitType is null
Compliancemandatory This method must be implemented.
MethodgetSourceUnitTypes
Description

Gets all the source unit types supported.

Returnosid.type.TypeList the list of supported source unit types
Compliancemandatory This method must be implemented.
MethodsupportsCurrencyTypesForConversion
Description

Tests if a given currency conversion is supported.

Parametersosid.type.TypesourceCurrencyType the type of the source currency
osid.type.TypetargetCurrencyType the type of the target currency
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceCurrencyType or targetCurrencyType is null
Compliancemandatory This method must be implemented.
MethodgetCurrencyTypesForSource
Description

Gets the list of target currency types for a given source currency type.

Parametersosid.type.TypesourceCurrencyType the type of the source currency
Returnosid.type.TypeList the list of supported currency types
ErrorsNULL_ARGUMENT sourceCurrencyType is null
Compliancemandatory This method must be implemented.
MethodgetSourceCurrencyTypes
Description

Gets the list of source currency types.

Returnosid.type.TypeList the list of supported source currency types
Compliancemandatory This method must be implemented.
MethodsupportsCalendarTypesForConversion
Description

Tests if a given calendar conversion is supported.

Parametersosid.type.TypesourceCalendarType the type of the source calendar
osid.type.TypetargetCalendarType the type of the target calendar
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceCalendarType or targetCalendarType is null
Compliancemandatory This method must be implemented.
MethodgetCalendarTypesForSource
Description

Gets the list of target calendar types for a given source calendar type.

Parametersosid.type.TypesourceCalendarType the type of the source calendar
Returnosid.type.TypeList the list of supported calendar types
ErrorsNULL_ARGUMENT sourceCalendarType is null
Compliancemandatory This method must be implemented.
MethodgetSourceCalendarTypes
Description

Gets the list of source calendar types.

Returnosid.type.TypeList the list of supported source calendar types
Compliancemandatory This method must be implemented.
MethodsupportsTimeTypesForConversion
Description

Tests if a given time conversion is supported.

Parametersosid.type.TypesourceTimeType the type of the source time
osid.type.TypetargetTimeType the type of the target time
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceTimeType or targetTimeType is null
Compliancemandatory This method must be implemented.
MethodgetTimeTypesForSource
Description

Gets the list of target time types for a given source time type.

Parametersosid.type.TypesourceTimeType the type of the source time
Returnosid.type.TypeList the list of supported time types
ErrorsNULL_ARGUMENT sourceTimeType is null
Compliancemandatory This method must be implemented.
MethodgetSourceTimeTypes
Description

Gets the list of source time types.

Returnosid.type.TypeList the list of supported source time types
Compliancemandatory This method must be implemented.
MethodgetTimeTypesForCalendarType
Description

Gets the list of time types supported for a given calendar type where they are both used in a DateTime.

Parametersosid.type.TypecalendarType the type of the calendar
Returnosid.type.TypeList the list of supported time types
ErrorsNULL_ARGUMENT calendarType is null
Compliancemandatory This method must be implemented.
MethodgetCalendarTypesForTimeType
Description

Gets the list of calendar types supported for a given time type where they are both used in a DateTime.

Parametersosid.type.TypetimeType the type of the time system
Returnosid.type.TypeList the list of supported calendar types
ErrorsNULL_ARGUMENT timeType is null
Compliancemandatory This method must be implemented.
MethodsupportsCalendarTimeTypes
Description

Tests if a given calendar and time type are used together in a DateTime.

Parametersosid.type.TypecalendarType the type of the calendar
osid.type.TypetimeType the type of the time system
Returnboolean true if the given calendar and time types are supported, false otherwise
ErrorsNULL_ARGUMENT calendarType or timeType is null
Compliancemandatory This method must be implemented.
MethodsupportsCoordinateTypesForConversion
Description

Tests if a given coordinate type for conversion is supported.

Parametersosid.type.TypesourceCoordinateType the type of the source coordinate
osid.type.TypetargetCoordinateType the type of the target coordinate
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceCoordinateType or targetCoordinateType is null
Compliancemandatory This method must be implemented.
MethodgetCoordinateTypesForSource
Description

Gets the list of target coordinate types for a given source coordinate type.

Parametersosid.type.TypesourceCoordinateType the type of the source coordinate
Returnosid.type.TypeList the list of supported target coordinate types
ErrorsNULL_ARGUMENT sourceCoordinateType is null
Compliancemandatory This method must be implemented.
MethodgetSourceCoordinateTypes
Description

Gets the list of source coordinate types.

Returnosid.type.TypeList the list of supported source coordinate types
Compliancemandatory This method must be implemented.
MethodsupportsSpatialUnitRecordTypesForConversion
Description

Tests if a given spatial unit conversion is supported.

Parametersosid.type.TypesourceSpatialUnitRecordType the type of the source spatial unit record
osid.type.TypetargetSpatialUnitRecordType the type of the target spatial unit record
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceSpatialUnitRecordType or targetSpatialUnitRecordType is null
Compliancemandatory This method must be implemented.
MethodgetSpatialUnitRecordTypesForSource
Description

Gets the list of target spatial unit types for a given source spatial unit type.

Parametersosid.type.TypesourceSpatialUnitRecordType the type of the source spatial unit record
Returnosid.type.TypeList the list of supported target spatial unit record types
ErrorsNULL_ARGUMENT sourceSpatialUnitRecordType is null
Compliancemandatory This method must be implemented.
MethodgetSourceSpatialUnitRecordTypes
Description

Gets the list of source spatial unit record types.

Returnosid.type.TypeList the list of supported source spatial unit record types
Compliancemandatory This method must be implemented.
MethodsupportsFormatTypesForConversion
Description

Tests if a given format conversion is supported.

Parametersosid.type.TypesourceFormatType the type of the source format
osid.type.TypetargetFormatType the type of the target format
Returnboolean true if the given source and target conversion is supported, false otherwise
ErrorsNULL_ARGUMENT sourceFormatType or targetFormatType is null
Compliancemandatory This method must be implemented.
MethodgetFormatTypesForSource
Description

Gets the list of target format types for a given source spatial unit type.

Parametersosid.type.TypesourceFormatType the type of the source format
Returnosid.type.TypeList the list of supported target format types
ErrorsNULL_ARGUMENT sourceFormatType is null
Compliancemandatory This method must be implemented.
MethodgetSourceFormatTypes
Description

Gets the list of source format types.

Returnosid.type.TypeList the list of supported source format types
Compliancemandatory This method must be implemented.