aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/include/unicode/gregocal.h
diff options
context:
space:
mode:
authorromankoshelev <romankoshelev@yandex-team.com>2023-08-14 19:51:50 +0300
committerromankoshelev <romankoshelev@yandex-team.com>2023-08-15 01:24:11 +0300
commitcfcd865e05c0d0525ea27d1e153a043b32a85138 (patch)
tree68d3b3b25271e8a4998505897a269ff7ce119b76 /contrib/libs/icu/include/unicode/gregocal.h
parentccb790c507bd5e8ffe2ef9886ce5ee0a7ce22a15 (diff)
downloadydb-cfcd865e05c0d0525ea27d1e153a043b32a85138.tar.gz
Update ICU to 73.2
Diffstat (limited to 'contrib/libs/icu/include/unicode/gregocal.h')
-rw-r--r--contrib/libs/icu/include/unicode/gregocal.h34
1 files changed, 2 insertions, 32 deletions
diff --git a/contrib/libs/icu/include/unicode/gregocal.h b/contrib/libs/icu/include/unicode/gregocal.h
index 4c2be18251..b85deb5ecf 100644
--- a/contrib/libs/icu/include/unicode/gregocal.h
+++ b/contrib/libs/icu/include/unicode/gregocal.h
@@ -88,7 +88,7 @@ U_NAMESPACE_BEGIN
* cout << "Current Time" << endl;
*
* // create a Pacific Standard Time time zone
- * SimpleTimeZone* pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids->unext(NULL, success)));
+ * SimpleTimeZone* pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids->unext(nullptr, success)));
*
* // set up rules for daylight savings time
* pdt->setStartRule(UCAL_MARCH, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000);
@@ -411,19 +411,6 @@ public:
*/
int32_t getActualMinimum(UCalendarDateFields field, UErrorCode &status) const override;
-#ifndef U_HIDE_DEPRECATED_API
- /**
- * Return the maximum value that this field could have, given the current date.
- * For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
- * maximum would be 28; for "Feb 3, 1996" it s 29. Similarly for a Hebrew calendar,
- * for some years the actual maximum for MONTH is 12, and for others 13.
- * @param field the time field.
- * @return the maximum value that this field could have, given the current date.
- * @deprecated ICU 2.6. Use getActualMaximum(UCalendarDateFields field) instead.
- */
- int32_t getActualMaximum(EDateFields field) const;
-#endif /* U_HIDE_DEPRECATED_API */
-
/**
* Return the maximum value that this field could have, given the current date.
* For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
@@ -436,17 +423,6 @@ public:
*/
virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const override;
- /**
- * (Overrides Calendar) Return true if the current date for this Calendar is in
- * Daylight Savings Time. Recognizes DST_OFFSET, if it is set.
- *
- * @param status Fill-in parameter which receives the status of this operation.
- * @return True if the current date for this Calendar is in Daylight Savings Time,
- * false, otherwise.
- * @stable ICU 2.0
- */
- virtual UBool inDaylightTime(UErrorCode& status) const override;
-
public:
/**
@@ -487,7 +463,7 @@ public:
virtual const char * getType() const override;
private:
- GregorianCalendar(); // default constructor not implemented
+ GregorianCalendar() = delete; // default constructor not implemented
protected:
/**
@@ -716,12 +692,6 @@ public:
int32_t fGregorianCutoverYear;// = 1582;
/**
- * The year of the gregorianCutover, with 0 representing
- * 1 BC, -1 representing 2 BC, etc.
- */
- int32_t fGregorianCutoverJulianDay;// = 2299161;
-
- /**
* Converts time as milliseconds to Julian date. The Julian date used here is not a
* true Julian date, since it is measured from midnight, not noon.
*