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 CALENDAR.CPP | 7 * File CALENDAR.CPP |
8 * | 8 * |
9 * Modification History: | 9 * Modification History: |
10 * | 10 * |
11 * Date Name Description | 11 * Date Name Description |
12 * 02/03/97 clhuang Creation. | 12 * 02/03/97 clhuang Creation. |
13 * 04/22/97 aliu Cleaned up, fixed memory leak, made | 13 * 04/22/97 aliu Cleaned up, fixed memory leak, made |
14 * setWeekCountData() more robust. | 14 * setWeekCountData() more robust. |
15 * Moved platform code to TPlatformUtilities. | 15 * Moved platform code to TPlatformUtilities. |
16 * 05/01/97 aliu Made equals(), before(), after() arguments const. | 16 * 05/01/97 aliu Made equals(), before(), after() arguments const. |
17 * 05/20/97 aliu Changed logic of when to compute fields and time | 17 * 05/20/97 aliu Changed logic of when to compute fields and time |
18 * to fix bugs. | 18 * to fix bugs. |
19 * 08/12/97 aliu Added equivalentTo. Misc other fixes. | 19 * 08/12/97 aliu Added equivalentTo. Misc other fixes. |
20 * 07/28/98 stephen Sync up with JDK 1.2 | 20 * 07/28/98 stephen Sync up with JDK 1.2 |
21 * 09/02/98 stephen Sync with JDK 1.2 8/31 build (getActualMin/Max) | 21 * 09/02/98 stephen Sync with JDK 1.2 8/31 build (getActualMin/Max) |
22 * 03/17/99 stephen Changed adoptTimeZone() - now fAreFieldsSet is | 22 * 03/17/99 stephen Changed adoptTimeZone() - now fAreFieldsSet is |
23 * set to FALSE to force update of time. | 23 * set to FALSE to force update of time. |
24 ******************************************************************************* | 24 ******************************************************************************* |
25 */ | 25 */ |
26 | 26 |
27 #include <typeinfo> // for 'typeid' to work | 27 #include "unicode/utypeinfo.h" // for 'typeid' to work |
28 | 28 |
29 #include "unicode/utypes.h" | 29 #include "unicode/utypes.h" |
30 | 30 |
31 #if !UCONFIG_NO_FORMATTING | 31 #if !UCONFIG_NO_FORMATTING |
32 | 32 |
33 #include "unicode/gregocal.h" | 33 #include "unicode/gregocal.h" |
34 #include "gregoimp.h" | 34 #include "gregoimp.h" |
35 #include "buddhcal.h" | 35 #include "buddhcal.h" |
36 #include "taiwncal.h" | 36 #include "taiwncal.h" |
37 #include "japancal.h" | 37 #include "japancal.h" |
(...skipping 3327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3365 { | 3365 { |
3366 internalSet((UCalendarDateFields) field, value); | 3366 internalSet((UCalendarDateFields) field, value); |
3367 } | 3367 } |
3368 | 3368 |
3369 U_NAMESPACE_END | 3369 U_NAMESPACE_END |
3370 | 3370 |
3371 #endif /* #if !UCONFIG_NO_FORMATTING */ | 3371 #endif /* #if !UCONFIG_NO_FORMATTING */ |
3372 | 3372 |
3373 | 3373 |
3374 //eof | 3374 //eof |
OLD | NEW |