Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeString & TimeZone::getDisplayName ( UnicodeString result ) const [inherited]

Returns a name of this time zone suitable for presentation to the user in the default locale. This method returns the long name, not including daylight savings. If the display name is not available for the locale, then this method returns a string in the format GMT[+-]hh:mm.

Parameters:
resultthe human-readable name of this time zone in the default locale.
Returns:
A reference to 'result'. ICU 2.0

Definition at line 1109 of file timezone.cpp.

References FALSE, Locale::getDefault(), and TimeZone::LONG.

Referenced by TimeZone::getDisplayName(), TimeZoneRegressionTest::Test4176686(), TimeZoneTest::TestDisplayName(), and ucal_getTimeZoneDisplayName().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index