]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/unicode/utmscale.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / unicode / utmscale.h
index 368e42650530dcee8bb486fbf1a099208392590c..d8b8a2e668af1da0b3cf93ad806399afe07a7814 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) 2004 - 2008, International Business Machines Corporation and
@@ -277,14 +279,18 @@ typedef enum UDateTimeScale {
      * Similar to Unix time (linear value from 1970) and struct timeval
      * (microseconds resolution).
      *
-     * @stable ICU 4.0
+     * @stable ICU 3.8
      */
     UDTS_UNIX_MICROSECONDS_TIME,
 
+#ifndef U_HIDE_DEPRECATED_API
     /**
      * The first unused time scale value. The limit of this enum
+     * @deprecated ICU 59 The numeric value may change over time, see ICU ticket #12420.
      */
     UDTS_MAX_SCALE
+#endif  /* U_HIDE_DEPRECATED_API */
+
 } UDateTimeScale;
 
 /**
@@ -421,12 +427,15 @@ typedef enum UTimeScaleValue {
 
 #endif /* U_HIDE_INTERNAL_API */
 
+#ifndef U_HIDE_DEPRECATED_API
     /**
      * The number of time scale values, in other words limit of this enum.
      * 
      * @see utmscale_getTimeScaleValue
+     * @deprecated ICU 59 The numeric value may change over time, see ICU ticket #12420.
      */
     UTSV_MAX_SCALE_VALUE=11
+#endif  /* U_HIDE_DEPRECATED_API */
 
 } UTimeScaleValue;