Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: i18n ::
interface XExtendedCalendar
  Base Interfaces
      XExtendedCalendar
      ┗ XCalendar
  XCalendar | (referenced interface's summary:) Access to locale specific calendar systems.
Description This interface provides access to locale specific calendar systems. It is derived from XCalendar and provides additional functionality to display parts of the date currently set at the calendar. Since OOo 1.1.2 Developers Guide OfficeDev - Overview and Using the API - XExtendedCalendar

Methods' Summary
getDisplayString | Returns a string (number or name to display) matching the given code constant.

Methods' Details
getDisplayString
string
getDisplayString( | [in] long | nCalendarDisplayCode,
| [in] short | nNativeNumberMode );
Description Returns a string (number or name to display) matching the given code constant. Note that the string returned depends completely on the locale's calendar. It is not predictable if the string will be numeric or a name, or if in case it returns a numeric string how many digits that will have. For example, a short year display string will normally be two digits with a Gregorian calendar, but with a Jewish calendar it will have three digits. Parameter nCalendarDisplayCode One of CalendarDisplayCode Parameter nNativeNumberMode One of NativeNumberMode. This argument designates the basic transliteration mode as if specified for the year representation. However, depending on the locale, different conversions for year and month, for example, may be chosen internally. This is beyond the user's control and depends on locale specific conventions of how a date is assembled.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.