LibreOffice Module i18npool (master) 1
Namespaces | Macros | Functions | Variables
calendar_gregorian.cxx File Reference
#include <algorithm>
#include <calendar_gregorian.hxx>
#include <localedata.hxx>
#include <nativenumbersupplier.hxx>
#include <com/sun/star/i18n/CalendarDisplayCode.hpp>
#include <com/sun/star/i18n/CalendarDisplayIndex.hpp>
#include <com/sun/star/i18n/NativeNumberMode.hpp>
#include <com/sun/star/i18n/reservedWords.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/sprintf.hxx>
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <stdio.h>
#include <string.h>
Include dependency graph for calendar_gregorian.cxx:

Go to the source code of this file.

Namespaces

namespace  i18npool
 Constant values shared between i18npool and, for example, the number formatter.
 

Macros

#define erDUMP_ICU_CALENDAR   0
 
#define erDUMP_I18N_CALENDAR   0
 
#define DUMP_ICU_CAL_MSG(x)
 
#define DUMP_I18N_CAL_MSG(x)
 
#define FIELDS   ((1 << CalendarFieldIndex::ERA) | (1 << CalendarFieldIndex::YEAR))
 

Functions

static sal_Int16 i18npool::cast32To16 (sal_Int32 a)
 
static sal_Int32 i18npool::cast16To32 (sal_Int16 i)
 
static UCalendarDateFields i18npool::fieldNameConverter (sal_Int16 fieldIndex)
 
static sal_Int16 i18npool::NatNumForCalendar (const css::lang::Locale &aLocale, sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode, sal_Int32 value)
 
static sal_Int32 i18npool::DisplayCode2FieldIndex (sal_Int32 nCalendarDisplayCode)
 

Variables

const Era i18npool::gengou_eraArray []
 
const Era i18npool::ROC_eraArray []
 
const Era i18npool::dangi_eraArray []
 The start year of the Korean traditional calendar (Dan-gi) is the inaugural year of Dan-gun (BC 2333). More...
 
const Era i18npool::buddhist_eraArray []
 

Macro Definition Documentation

◆ DUMP_I18N_CAL_MSG

#define DUMP_I18N_CAL_MSG (   x)

Definition at line 120 of file calendar_gregorian.cxx.

◆ DUMP_ICU_CAL_MSG

#define DUMP_ICU_CAL_MSG (   x)

Definition at line 119 of file calendar_gregorian.cxx.

◆ erDUMP_I18N_CALENDAR

#define erDUMP_I18N_CALENDAR   0

Definition at line 38 of file calendar_gregorian.cxx.

◆ erDUMP_ICU_CALENDAR

#define erDUMP_ICU_CALENDAR   0

Definition at line 37 of file calendar_gregorian.cxx.

◆ FIELDS

#define FIELDS   ((1 << CalendarFieldIndex::ERA) | (1 << CalendarFieldIndex::YEAR))

Definition at line 451 of file calendar_gregorian.cxx.