OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 2008-2011,2013, International Business Machines Corporation and | 3 * Copyright (C) 2008-2014, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ******************************************************************************* | 5 ******************************************************************************* |
6 * | 6 * |
7 * File DTITVINF.H | 7 * File DTITVINF.H |
8 * | 8 * |
9 ******************************************************************************* | 9 ******************************************************************************* |
10 */ | 10 */ |
11 | 11 |
12 #ifndef __DTITVINF_H__ | 12 #ifndef __DTITVINF_H__ |
13 #define __DTITVINF_H__ | 13 #define __DTITVINF_H__ |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 * When clients obtain a DateIntervalInfo object, | 141 * When clients obtain a DateIntervalInfo object, |
142 * they can feel free to modify it as necessary. | 142 * they can feel free to modify it as necessary. |
143 * <P> | 143 * <P> |
144 * DateIntervalInfo are not expected to be subclassed. | 144 * DateIntervalInfo are not expected to be subclassed. |
145 * Data for a calendar is loaded out of resource bundles. | 145 * Data for a calendar is loaded out of resource bundles. |
146 * Through ICU 4.4, date interval patterns are only supported in the Gregorian | 146 * Through ICU 4.4, date interval patterns are only supported in the Gregorian |
147 * calendar; non-Gregorian calendars are supported from ICU 4.4.1. | 147 * calendar; non-Gregorian calendars are supported from ICU 4.4.1. |
148 * @stable ICU 4.0 | 148 * @stable ICU 4.0 |
149 **/ | 149 **/ |
150 | 150 |
151 class U_I18N_API DateIntervalInfo : public UObject { | 151 class U_I18N_API DateIntervalInfo U_FINAL : public UObject { |
152 public: | 152 public: |
153 #ifndef U_HIDE_INTERNAL_API | 153 #ifndef U_HIDE_INTERNAL_API |
154 /** | 154 /** |
155 * Default constructor. | 155 * Default constructor. |
156 * It does not initialize any interval patterns except | 156 * It does not initialize any interval patterns except |
157 * that it initialize default fall-back pattern as "{0} - {1}", | 157 * that it initialize default fall-back pattern as "{0} - {1}", |
158 * which can be reset by setFallbackIntervalPattern(). | 158 * which can be reset by setFallbackIntervalPattern(). |
159 * It should be followed by setFallbackIntervalPattern() and | 159 * It should be followed by setFallbackIntervalPattern() and |
160 * setIntervalPattern(), | 160 * setIntervalPattern(), |
161 * and is recommended to be used only for power users who | 161 * and is recommended to be used only for power users who |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 return !operator==(other); | 505 return !operator==(other); |
506 } | 506 } |
507 | 507 |
508 | 508 |
509 U_NAMESPACE_END | 509 U_NAMESPACE_END |
510 | 510 |
511 #endif | 511 #endif |
512 | 512 |
513 #endif | 513 #endif |
514 | 514 |
OLD | NEW |