]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/japancal.h
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / japancal.h
index 2304abae6ed196f850535b4aa2299882c5b77236..f05b2ac9b779eb0caaef19bce84380ba9e54de74 100644 (file)
@@ -1,3 +1,5 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
  ********************************************************************************
  * Copyright (C) 2003-2008, International Business Machines Corporation
@@ -192,17 +194,20 @@ protected:
      * Called by computeJulianDay.  Returns the default month (0-based) for the year,
      * taking year and era into account.  Will return the first month of the given era, if 
      * the current year is an ascension year.
+     * @param eyear the extended year
      * @internal
      */
-    virtual int32_t getDefaultMonthInYear();
+    virtual int32_t getDefaultMonthInYear(int32_t eyear);
 
     /***
      * Called by computeJulianDay.  Returns the default day (1-based) for the month,
      * taking currently-set year and era into account.  Will return the first day of the given
      * era, if the current month is an ascension year and month.
+     * @param eyear the extended year
+     * @param mon the month in the year
      * @internal
      */
-    virtual int32_t getDefaultDayInMonth(int32_t month);
+    virtual int32_t getDefaultDayInMonth(int32_t eyear, int32_t month);
 };
 
 U_NAMESPACE_END