OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 1997-2010, International Business Machines Corporation and * | 3 * Copyright (C) 1997-2010, International Business Machines Corporation and * |
4 * others. All Rights Reserved. * | 4 * others. All Rights Reserved. * |
5 ******************************************************************************* | 5 ******************************************************************************* |
6 * | 6 * |
7 * File FORMAT.CPP | 7 * File FORMAT.CPP |
8 * | 8 * |
9 * Modification History: | 9 * Modification History: |
10 * | 10 * |
11 * Date Name Description | 11 * Date Name Description |
12 * 02/19/97 aliu Converted from java. | 12 * 02/19/97 aliu Converted from java. |
13 * 03/17/97 clhuang Implemented with new APIs. | 13 * 03/17/97 clhuang Implemented with new APIs. |
14 * 03/27/97 helena Updated to pass the simple test after code review. | 14 * 03/27/97 helena Updated to pass the simple test after code review. |
15 * 07/20/98 stephen Added explicit init values for Field/ParsePositio
n | 15 * 07/20/98 stephen Added explicit init values for Field/ParsePositio
n |
16 ******************************************************************************** | 16 ******************************************************************************** |
17 */ | 17 */ |
18 // ***************************************************************************** | 18 // ***************************************************************************** |
19 // This file was generated from the java source file Format.java | 19 // This file was generated from the java source file Format.java |
20 // ***************************************************************************** | 20 // ***************************************************************************** |
21 | 21 |
22 #include <typeinfo> // for 'typeid' to work | 22 #include "unicode/utypeinfo.h" // for 'typeid' to work |
23 | 23 |
24 #include "unicode/utypes.h" | 24 #include "unicode/utypes.h" |
25 | 25 |
26 /* | 26 /* |
27 * Dummy code: | 27 * Dummy code: |
28 * If all modules in the I18N library are switched off, then there are no | 28 * If all modules in the I18N library are switched off, then there are no |
29 * library exports and MSVC 6 writes a .dll but not a .lib file. | 29 * library exports and MSVC 6 writes a .dll but not a .lib file. |
30 * Unless we export _something_ in that case... | 30 * Unless we export _something_ in that case... |
31 */ | 31 */ |
32 #if UCONFIG_NO_COLLATION && UCONFIG_NO_FORMATTING && UCONFIG_NO_TRANSLITERATION | 32 #if UCONFIG_NO_COLLATION && UCONFIG_NO_FORMATTING && UCONFIG_NO_TRANSLITERATION |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 Format::setLocaleIDs(const char* valid, const char* actual) { | 204 Format::setLocaleIDs(const char* valid, const char* actual) { |
205 U_LOCALE_BASED(locBased, *this); | 205 U_LOCALE_BASED(locBased, *this); |
206 locBased.setLocaleIDs(valid, actual); | 206 locBased.setLocaleIDs(valid, actual); |
207 } | 207 } |
208 | 208 |
209 U_NAMESPACE_END | 209 U_NAMESPACE_END |
210 | 210 |
211 #endif /* #if !UCONFIG_NO_FORMATTING */ | 211 #endif /* #if !UCONFIG_NO_FORMATTING */ |
212 | 212 |
213 //eof | 213 //eof |
OLD | NEW |