ICU-4912 xlC can't handle inline and virtual
X-SVN-Rev: 18762
This commit is contained in:
parent
4dbb53ac7a
commit
c73373cfd5
@ -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();
|
||||
}
|
||||
|
@ -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:
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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:
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user