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

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

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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/timezone.h ('k') | source/i18n/unicode/tmutfmt.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) 2009-2010, Google, International Business Machines Corporation and * 3 * Copyright (C) 2009-2014, Google, International Business Machines Corporation and *
4 * others. All Rights Reserved. * 4 * others. All Rights Reserved. *
5 ******************************************************************************* 5 *******************************************************************************
6 */ 6 */
7 7
8 #ifndef __TMUNIT_H__ 8 #ifndef __TMUNIT_H__
9 #define __TMUNIT_H__ 9 #define __TMUNIT_H__
10 10
11 11
12 /** 12 /**
13 * \file 13 * \file
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 */ 70 */
71 TimeUnit(const TimeUnit& other); 71 TimeUnit(const TimeUnit& other);
72 72
73 /** 73 /**
74 * Assignment operator. 74 * Assignment operator.
75 * @stable ICU 4.2 75 * @stable ICU 4.2
76 */ 76 */
77 TimeUnit& operator=(const TimeUnit& other); 77 TimeUnit& operator=(const TimeUnit& other);
78 78
79 /** 79 /**
80 * Equality operator.
81 * @return true if 2 objects are the same.
82 * @stable ICU 4.2
83 */
84 virtual UBool operator==(const UObject& other) const;
85
86 /**
87 * Non-Equality operator.
88 * @return true if 2 objects are not the same.
89 * @stable ICU 4.2
90 */
91 UBool operator!=(const UObject& other) const;
92
93 /**
94 * Returns a unique class ID for this object POLYMORPHICALLY. 80 * Returns a unique class ID for this object POLYMORPHICALLY.
95 * This method implements a simple form of RTTI used by ICU. 81 * This method implements a simple form of RTTI used by ICU.
96 * @return The class ID for this object. All objects of a given 82 * @return The class ID for this object. All objects of a given
97 * class have the same class ID. Objects of other classes have 83 * class have the same class ID. Objects of other classes have
98 * different class IDs. 84 * different class IDs.
99 * @stable ICU 4.2 85 * @stable ICU 4.2
100 */ 86 */
101 virtual UClassID getDynamicClassID() const; 87 virtual UClassID getDynamicClassID() const;
102 88
103 /** 89 /**
(...skipping 23 matching lines...) Expand all
127 113
128 /** 114 /**
129 * Constructor 115 * Constructor
130 * @internal ICU 4.2 116 * @internal ICU 4.2
131 */ 117 */
132 TimeUnit(UTimeUnitFields timeUnitField); 118 TimeUnit(UTimeUnitFields timeUnitField);
133 119
134 }; 120 };
135 121
136 122
137 inline UBool
138 TimeUnit::operator!=(const UObject& other) const {
139 return !operator==(other);
140 }
141
142
143 U_NAMESPACE_END 123 U_NAMESPACE_END
144 124
145 #endif /* #if !UCONFIG_NO_FORMATTING */ 125 #endif /* #if !UCONFIG_NO_FORMATTING */
146 126
147 #endif // __TMUNIT_H__ 127 #endif // __TMUNIT_H__
148 //eof 128 //eof
149 // 129 //
OLDNEW
« no previous file with comments | « source/i18n/unicode/timezone.h ('k') | source/i18n/unicode/tmutfmt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698