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

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

Returns a name of this time zone suitable for presentation to the user in the specified 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.

locale the locale in which to supply the display name.
result the human-readable name of this time zone in the given locale or in the default locale if the given locale is not recognized.
A reference to 'result'. ICU 2.0

Definition at line 1126 of file timezone.cpp.

References FALSE, TimeZone::getDisplayName(), and TimeZone::LONG.

    return getDisplayName(FALSE, LONG, locale, result);

Generated by  Doxygen 1.6.0   Back to index