OSID Logo
OSID Specifications
locale package
Version 3.0.0
Release Candidate Preview
Interfaceosid.locale.CalendarUnit
Description

A description of a calendar unit.

MethodgetName
Description

Gets the full name of this unit.

Returnosid.locale.DisplayTextthe name
CompliancemandatoryThis method must be implemented.
MethodgetAbbrev3
Description

Gets a 3-letter abbreviation for this unit.

Returnosid.locale.DisplayTextthe abbreviation
CompliancemandatoryThis method must be implemented.
MethodgetAbbrev2
Description

Gets a 2-letter abbreviation for this unit.

Returnosid.locale.DisplayTextthe abbreviation
CompliancemandatoryThis method must be implemented.
MethodgetInitial
Description

Gets a single letter abbreviation for this unit.

Returnosid.locale.DisplayTextthe initial
CompliancemandatoryThis method must be implemented.
MethodgetDateTimeCode
Description

Gets the number of this unit used in DateTime.

Returncardinalthe code
CompliancemandatoryThis method must be implemented.
MethodgetDescription
Description

Gets a description of this unit.

Returnosid.locale.DisplayTextthe description
CompliancemandatoryThis method must be implemented.