LibreOffice Module i18npool (master) 1
|
#include <calendarImpl.hxx>
Classes | |
struct | lookupTableItem |
Public Member Functions | |
CalendarImpl () | |
CalendarImpl (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~CalendarImpl () override |
Destructor. More... | |
virtual void SAL_CALL | loadDefaultCalendar (const css::lang::Locale &rLocale) override |
virtual void SAL_CALL | loadCalendar (const OUString &uniqueID, const css::lang::Locale &rLocale) override |
virtual css::i18n::Calendar SAL_CALL | getLoadedCalendar () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getAllCalendars (const css::lang::Locale &rLocale) override |
virtual OUString SAL_CALL | getUniqueID () override |
virtual void SAL_CALL | setDateTime (double fTimeInDays) override |
virtual double SAL_CALL | getDateTime () override |
virtual void SAL_CALL | setValue (sal_Int16 nFieldIndex, sal_Int16 nValue) override |
virtual sal_Int16 SAL_CALL | getValue (sal_Int16 nFieldIndex) override |
virtual sal_Bool SAL_CALL | isValid () override |
virtual void SAL_CALL | addValue (sal_Int16 nFieldIndex, sal_Int32 nAmount) override |
virtual sal_Int16 SAL_CALL | getFirstDayOfWeek () override |
virtual void SAL_CALL | setFirstDayOfWeek (sal_Int16 nDay) override |
virtual void SAL_CALL | setMinimumNumberOfDaysForFirstWeek (sal_Int16 nDays) override |
virtual sal_Int16 SAL_CALL | getMinimumNumberOfDaysForFirstWeek () override |
virtual sal_Int16 SAL_CALL | getNumberOfMonthsInYear () override |
virtual sal_Int16 SAL_CALL | getNumberOfDaysInWeek () override |
virtual css::uno::Sequence< css::i18n::CalendarItem > SAL_CALL | getMonths () override |
virtual css::uno::Sequence< css::i18n::CalendarItem > SAL_CALL | getDays () override |
virtual OUString SAL_CALL | getDisplayName (sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) override |
virtual OUString SAL_CALL | getDisplayString (sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode) override |
virtual css::i18n::Calendar2 SAL_CALL | getLoadedCalendar2 () override |
virtual css::uno::Sequence< css::i18n::CalendarItem2 > SAL_CALL | getDays2 () override |
virtual css::uno::Sequence< css::i18n::CalendarItem2 > SAL_CALL | getMonths2 () override |
virtual css::uno::Sequence< css::i18n::CalendarItem2 > SAL_CALL | getGenitiveMonths2 () override |
virtual css::uno::Sequence< css::i18n::CalendarItem2 > SAL_CALL | getPartitiveMonths2 () override |
virtual void SAL_CALL | setLocalDateTime (double TimeInDays) override |
virtual double SAL_CALL | getLocalDateTime () override |
virtual void SAL_CALL | loadDefaultCalendarTZ (const css::lang::Locale &rLocale, const OUString &rTimeZone) override |
virtual void SAL_CALL | loadCalendarTZ (const OUString &uniqueID, const css::lang::Locale &rLocale, const OUString &rTimeZone) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Attributes | |
std::vector< lookupTableItem > | lookupTable |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::i18n::XCalendar4 > | xCalendar |
Definition at line 33 of file calendarImpl.hxx.
i18npool::CalendarImpl::CalendarImpl | ( | ) |
Definition at line 33 of file calendarImpl.cxx.
References getProcessComponentContext(), and m_xContext.
i18npool::CalendarImpl::CalendarImpl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
|
overridevirtual |
Destructor.
Definition at line 43 of file calendarImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 214 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Definition at line 138 of file calendarImpl.cxx.
References i18npool::LocaleDataImpl::get().
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 156 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 281 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 299 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian, i18npool::Calendar_hanja, and i18npool::Calendar_hanja_yoil.
Definition at line 255 of file calendarImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian, i18npool::Calendar_buddhist, and i18npool::Calendar_jewish.
Definition at line 343 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 222 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 317 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 351 of file calendarImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 130 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 122 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 172 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 246 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 290 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 308 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 272 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 263 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 326 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 363 of file calendarImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 190 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 206 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 335 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 184 of file calendarImpl.cxx.
References loadCalendarTZ().
|
overridevirtual |
Definition at line 58 of file calendarImpl.cxx.
References Exception, i18npool::LocaleDataImpl::get(), i, lookupTable, i18npool::CalendarImpl::lookupTableItem::m_aCacheID, m_xContext, i18npool::Calendar_gregorian::setTimeZone(), i18npool::CalendarImpl::lookupTableItem::xCalendar, and xCalendar.
Referenced by loadCalendar(), and loadDefaultCalendarTZ().
|
overridevirtual |
Definition at line 179 of file calendarImpl.cxx.
References loadDefaultCalendarTZ().
|
overridevirtual |
Definition at line 48 of file calendarImpl.cxx.
References i18npool::LocaleDataImpl::get(), and loadCalendarTZ().
Referenced by loadDefaultCalendar().
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 148 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 230 of file calendarImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 164 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 238 of file calendarImpl.cxx.
References xCalendar.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 198 of file calendarImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::Calendar_gregorian.
Definition at line 357 of file calendarImpl.cxx.
References cppu::supportsService().
|
private |
Definition at line 101 of file calendarImpl.hxx.
Referenced by loadCalendarTZ().
|
private |
Definition at line 102 of file calendarImpl.hxx.
Referenced by loadCalendarTZ().
|
private |
Definition at line 103 of file calendarImpl.hxx.
Referenced by addValue(), getDateTime(), getDays(), getDays2(), getDisplayName(), getDisplayString(), getFirstDayOfWeek(), getGenitiveMonths2(), getLoadedCalendar(), getLoadedCalendar2(), getLocalDateTime(), getMinimumNumberOfDaysForFirstWeek(), getMonths(), getMonths2(), getNumberOfDaysInWeek(), getNumberOfMonthsInYear(), getPartitiveMonths2(), getUniqueID(), getValue(), isValid(), loadCalendarTZ(), setDateTime(), setFirstDayOfWeek(), setLocalDateTime(), setMinimumNumberOfDaysForFirstWeek(), and setValue().