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 <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

 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

#define DUMP_I18N_CAL_MSG (   x)
#define DUMP_ICU_CAL_MSG (   x)
#define erDUMP_I18N_CALENDAR   0

Definition at line 37 of file calendar_gregorian.cxx.

#define erDUMP_ICU_CALENDAR   0

Definition at line 36 of file calendar_gregorian.cxx.

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