/*
- * Copyright (C) 2003-2004, International Business Machines Corporation
+ ********************************************************************************
+ * Copyright (C) 2003-2008, International Business Machines Corporation
* and others. All Rights Reserved.
********************************************************************************
*
* <p>
* @internal
*/
-class U_I18N_API JapaneseCalendar : public GregorianCalendar {
+class JapaneseCalendar : public GregorianCalendar {
public:
/**
* Useful constants for JapaneseCalendar.
* @internal
*/
- static const uint32_t kCurrentEra; // the current era
+ U_I18N_API static uint32_t U_EXPORT2 getCurrentEra(void); // the current era
/**
* Constructs a JapaneseCalendar based on the current time in the default time zone
*/
virtual int32_t handleGetExtendedYear();
+ /**
+ * Return the maximum value that this field could have, given the current date.
+ * @internal
+ */
+ virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const;
+
+
public:
/**
* Override Calendar Returns a unique class ID POLYMORPHICALLY. Pure virtual
* @return The class ID for all objects of this class.
* @internal
*/
- static UClassID U_EXPORT2 getStaticClassID(void);
+ U_I18N_API static UClassID U_EXPORT2 getStaticClassID(void);
/**
* return the calendar type, "japanese".