]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/chnsecal.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / chnsecal.h
index 7d0e2a1fc8a7688da0cf593845f34ed2487c11d7..a0c21b6b5c2f86e951d0059df0442be345f2e1fb 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) 2007-2013, International Business Machines Corporation
@@ -142,7 +144,7 @@ class U_I18N_API ChineseCalendar : public Calendar {
   virtual ~ChineseCalendar();
 
   // clone
-  virtual Calendar* clone() const;
+  virtual ChineseCalendar* clone() const;
 
  private:
 
@@ -259,28 +261,6 @@ class U_I18N_API ChineseCalendar : public Calendar {
   virtual int32_t defaultCenturyStartYear() const;
 
  private: // default century stuff.
-  /**
-   * The system maintains a static default century start date.  This is initialized
-   * the first time it is used.  Before then, it is set to SYSTEM_DEFAULT_CENTURY to
-   * indicate an uninitialized state.  Once the system default century date and year
-   * are set, they do not change.
-   */
-  static UDate         fgSystemDefaultCenturyStart;
-
-  /**
-   * See documentation for systemDefaultCenturyStart.
-   */
-  static int32_t          fgSystemDefaultCenturyStartYear;
-
-  /**
-   * Default value that indicates the defaultCenturyStartYear is unitialized
-   */
-  static const int32_t    fgSystemDefaultCenturyYear;
-
-  /**
-   * start of default century, as a date
-   */
-  static const UDate        fgSystemDefaultCentury;
 
   /**
    * Returns the beginning date of the 100-year window that dates 
@@ -294,13 +274,6 @@ class U_I18N_API ChineseCalendar : public Calendar {
    */
   int32_t          internalGetDefaultCenturyStartYear(void) const;
 
-  /**
-   * Initializes the 100-year window that dates with 2-digit years
-   * are considered to fall within so that its start date is 80 years
-   * before the current time.
-   */
-  static void  initializeSystemDefaultCentury(void);
-
   ChineseCalendar(); // default constructor not implemented
 };