summaryrefslogtreecommitdiff
path: root/i18npool/inc/calendar_gregorian.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/inc/calendar_gregorian.hxx')
-rw-r--r--i18npool/inc/calendar_gregorian.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/i18npool/inc/calendar_gregorian.hxx b/i18npool/inc/calendar_gregorian.hxx
index 2a8ac14ecc60..929f759b2a6b 100644
--- a/i18npool/inc/calendar_gregorian.hxx
+++ b/i18npool/inc/calendar_gregorian.hxx
@@ -30,10 +30,13 @@
namespace com { namespace sun { namespace star { namespace i18n {
+const sal_uInt8 kDisplayEraForcedLongYear = 0x01;
+
struct Era {
sal_Int32 year;
sal_Int32 month;
sal_Int32 day;
+ sal_uInt8 flags;
};
const sal_Int16 FIELD_INDEX_COUNT = CalendarFieldIndex::FIELD_COUNT2;
@@ -101,6 +104,8 @@ protected:
virtual void mapFromGregorian() throw(com::sun::star::uno::RuntimeException);
void getValue() throw(com::sun::star::uno::RuntimeException);
+ rtl::OUString getDisplayStringImpl( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode, bool bEraMode ) throw (com::sun::star::uno::RuntimeException);
+
private:
Calendar2 aCalendar;