]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/japancal.h
ICU-400.42.tar.gz
[apple/icu.git] / icuSources / i18n / japancal.h
index 7ae515e952dfab06eed4bc371fcc8aaaf55ba131..2304abae6ed196f850535b4aa2299882c5b77236 100644 (file)
@@ -1,5 +1,6 @@
 /*
- * Copyright (C) 2003-2004, International Business Machines Corporation
+ ********************************************************************************
+ * Copyright (C) 2003-2008, International Business Machines Corporation
  * and others. All Rights Reserved.
  ********************************************************************************
  *
@@ -52,14 +53,14 @@ U_NAMESPACE_BEGIN
  * <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
@@ -107,6 +108,13 @@ public:
      */
     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
@@ -131,7 +139,7 @@ public:
      * @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".