Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: source/i18n/unicode/tznames.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/i18n/unicode/tzfmt.h ('k') | source/i18n/unicode/ucal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ******************************************************************************* 2 *******************************************************************************
3 * Copyright (C) 2011-2014, International Business Machines Corporation and 3 * Copyright (C) 2011-2015, International Business Machines Corporation and
4 * others. All Rights Reserved. 4 * others. All Rights Reserved.
5 ******************************************************************************* 5 *******************************************************************************
6 */ 6 */
7 #ifndef __TZNAMES_H 7 #ifndef __TZNAMES_H
8 #define __TZNAMES_H 8 #define __TZNAMES_H
9 9
10 /** 10 /**
11 * \file 11 * \file
12 * \brief C++ API: TimeZoneNames 12 * \brief C++ API: TimeZoneNames
13 */ 13 */
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 /** 160 /**
161 * Returns an instance of <code>TimeZoneNames</code> for the specified local e. 161 * Returns an instance of <code>TimeZoneNames</code> for the specified local e.
162 * 162 *
163 * @param locale The locale. 163 * @param locale The locale.
164 * @param status Receives the status. 164 * @param status Receives the status.
165 * @return An instance of <code>TimeZoneNames</code> 165 * @return An instance of <code>TimeZoneNames</code>
166 * @stable ICU 50 166 * @stable ICU 50
167 */ 167 */
168 static TimeZoneNames* U_EXPORT2 createInstance(const Locale& locale, UErrorC ode& status); 168 static TimeZoneNames* U_EXPORT2 createInstance(const Locale& locale, UErrorC ode& status);
169 169
170 #ifndef U_HIDE_DRAFT_API
171 /** 170 /**
172 * Returns an instance of <code>TimeZoneNames</code> containing only short s pecific 171 * Returns an instance of <code>TimeZoneNames</code> containing only short s pecific
173 * zone names (SHORT_STANDARD and SHORT_DAYLIGHT), 172 * zone names (SHORT_STANDARD and SHORT_DAYLIGHT),
174 * compatible with the IANA tz database's zone abbreviations (not localized) . 173 * compatible with the IANA tz database's zone abbreviations (not localized) .
175 * <br> 174 * <br>
176 * Note: The input locale is used for resolving ambiguous names (e.g. "IST" is parsed 175 * Note: The input locale is used for resolving ambiguous names (e.g. "IST" is parsed
177 * as Israel Standard Time for Israel, while it is parsed as India Standard Time for 176 * as Israel Standard Time for Israel, while it is parsed as India Standard Time for
178 * all other regions). The zone names returned by this instance are not loca lized. 177 * all other regions). The zone names returned by this instance are not loca lized.
179 * @draft ICU 54 178 * @stable ICU 54
180 */ 179 */
181 static TimeZoneNames* U_EXPORT2 createTZDBInstance(const Locale& locale, UE rrorCode& status); 180 static TimeZoneNames* U_EXPORT2 createTZDBInstance(const Locale& locale, UE rrorCode& status);
182 #endif /* U_HIDE_DRAFT_API */
183 181
184 /** 182 /**
185 * Returns an enumeration of all available meta zone IDs. 183 * Returns an enumeration of all available meta zone IDs.
186 * @param status Receives the status. 184 * @param status Receives the status.
187 * @return an enumeration object, owned by the caller. 185 * @return an enumeration object, owned by the caller.
188 * @stable ICU 50 186 * @stable ICU 50
189 */ 187 */
190 virtual StringEnumeration* getAvailableMetaZoneIDs(UErrorCode& status) const = 0; 188 virtual StringEnumeration* getAvailableMetaZoneIDs(UErrorCode& status) const = 0;
191 189
192 /** 190 /**
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 * @see MatchInfoCollection 393 * @see MatchInfoCollection
396 * @internal 394 * @internal
397 */ 395 */
398 virtual MatchInfoCollection* find(const UnicodeString& text, int32_t start, uint32_t types, UErrorCode& status) const = 0; 396 virtual MatchInfoCollection* find(const UnicodeString& text, int32_t start, uint32_t types, UErrorCode& status) const = 0;
399 }; 397 };
400 398
401 U_NAMESPACE_END 399 U_NAMESPACE_END
402 400
403 #endif 401 #endif
404 #endif 402 #endif
OLDNEW
« no previous file with comments | « source/i18n/unicode/tzfmt.h ('k') | source/i18n/unicode/ucal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698