ICU-4912 xlC can't handle inline and virtual

X-SVN-Rev: 18762
This commit is contained in:
Ram Viswanadha 2005-11-05 02:54:10 +00:00
parent 4dbb53ac7a
commit c73373cfd5
5 changed files with 6 additions and 5 deletions

View File

@ -473,7 +473,8 @@ UBool OlsonTimeZone::useDaylightTime() const {
}
return FALSE;
}
inline int32_t OlsonTimeZone::getDSTSavings() const{
int32_t
OlsonTimeZone::getDSTSavings() const{
if(finalZone!=NULL){
return finalZone->getDSTSavings();
}

View File

@ -209,7 +209,7 @@ class U_I18N_API OlsonTimeZone: public TimeZone {
*/
virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const;
virtual inline int32_t getDSTSavings() const;
virtual int32_t getDSTSavings() const;
protected:
/**

View File

@ -1074,7 +1074,7 @@ TimeZone::getDisplayName(UBool daylight, EDisplayType style, UnicodeString& resu
return getDisplayName(daylight,style, Locale::getDefault(), result);
}
//--------------------------------------
inline int32_t
int32_t
TimeZone::getDSTSavings()const {
if (useDaylightTime()) {
return 3600000;

View File

@ -645,7 +645,7 @@ public:
* are in effect. A positive number, typically one hour (3600000).
* @stable ICU 2.0
*/
int32_t getDSTSavings(void) const;
virtual int32_t getDSTSavings(void) const;
/**
* Queries if this TimeZone uses Daylight Savings Time.

View File

@ -618,7 +618,7 @@ public:
* @return the amount of saving time in milliseconds
* @draft ICU 3.6
*/
virtual inline int32_t getDSTSavings() const;
virtual int32_t getDSTSavings() const;
protected:
/**