summaryrefslogtreecommitdiff
path: root/i18npool/source/calendar/calendar_jewish.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/calendar/calendar_jewish.cxx')
-rw-r--r--i18npool/source/calendar/calendar_jewish.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx
index 996d01d73f49..549bae3c12aa 100644
--- a/i18npool/source/calendar/calendar_jewish.cxx
+++ b/i18npool/source/calendar/calendar_jewish.cxx
@@ -128,6 +128,7 @@ static sal_Int32 LastDayOfHebrewMonth(sal_Int32 month, sal_Int32 year) {
return 30;
}
+namespace {
class HebrewDate {
private:
@@ -187,6 +188,8 @@ public:
};
+}
+
// Gregorian dates
static int LastDayOfGregorianMonth(int month, int year) {
@@ -207,6 +210,8 @@ static int LastDayOfGregorianMonth(int month, int year) {
}
}
+namespace {
+
class GregorianDate {
private:
int year; // 1...
@@ -246,6 +251,8 @@ public:
};
+}
+
// map field value from gregorian calendar to other calendar, it can be overwritten by derived class.
void Calendar_jewish::mapFromGregorian()
{