uprv_getUTCtime change
George Rhoten <[email protected]> Mon, 16 Aug 2004 15:38:56 -0700
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <OFAF288BDC.3EF7AC08-ON86256EF2.007A73F0-88256EF2.007C65EA@us.ibm.com> |
As per jitterbug 3677, uprv_getUTCtime has changed its return type from int32_t to UDate for ICU 3.2. This change will allow ICU to get correct dates beyond the year 2038 on computers where time_t is 64-bits. This only affects you if you are using this internal API instead of the public Calendar::getNow function. Since uprv_getUTCtime is an internal API, it does not require an API proposal. You may not notice this issue, if you turn off warnings on your compiler when you compile your code. So if you use this internal function in your private code base somewhere, you will have to modify your code (preferably to use the public API instead). George Rhoten IBM Globalization Center of Competency/ICU San José, CA, USA ICU main website: http://oss.software.ibm.com/icu/index.html