| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2 ******************************************************************************** | 2 ******************************************************************************** | 
| 3 *   Copyright (C) 2005-2014, International Business Machines | 3 *   Copyright (C) 2005-2015, International Business Machines | 
| 4 *   Corporation and others.  All Rights Reserved. | 4 *   Corporation and others.  All Rights Reserved. | 
| 5 ******************************************************************************** | 5 ******************************************************************************** | 
| 6 * | 6 * | 
| 7 * File WINTZ.CPP | 7 * File WINTZ.CPP | 
| 8 * | 8 * | 
| 9 ******************************************************************************** | 9 ******************************************************************************** | 
| 10 */ | 10 */ | 
| 11 | 11 | 
| 12 #include "unicode/utypes.h" | 12 #include "unicode/utypes.h" | 
| 13 | 13 | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 37     int32_t standardBias; | 37     int32_t standardBias; | 
| 38     int32_t daylightBias; | 38     int32_t daylightBias; | 
| 39     SYSTEMTIME standardDate; | 39     SYSTEMTIME standardDate; | 
| 40     SYSTEMTIME daylightDate; | 40     SYSTEMTIME daylightDate; | 
| 41 } TZI; | 41 } TZI; | 
| 42 | 42 | 
| 43 /** | 43 /** | 
| 44  * Various registry keys and key fragments. | 44  * Various registry keys and key fragments. | 
| 45  */ | 45  */ | 
| 46 static const char CURRENT_ZONE_REGKEY[] = "SYSTEM\\CurrentControlSet\\Control\\T
     imeZoneInformation\\"; | 46 static const char CURRENT_ZONE_REGKEY[] = "SYSTEM\\CurrentControlSet\\Control\\T
     imeZoneInformation\\"; | 
| 47 static const char STANDARD_NAME_REGKEY[] = "StandardName"; | 47 /* static const char STANDARD_NAME_REGKEY[] = "StandardName"; Currently unused c
     onstant */ | 
| 48 static const char STANDARD_TIME_REGKEY[] = " Standard Time"; | 48 static const char STANDARD_TIME_REGKEY[] = " Standard Time"; | 
| 49 static const char TZI_REGKEY[] = "TZI"; | 49 static const char TZI_REGKEY[] = "TZI"; | 
| 50 static const char STD_REGKEY[] = "Std"; | 50 static const char STD_REGKEY[] = "Std"; | 
| 51 | 51 | 
| 52 /** | 52 /** | 
| 53  * HKLM subkeys used to probe for the flavor of Windows.  Note that we | 53  * HKLM subkeys used to probe for the flavor of Windows.  Note that we | 
| 54  * specifically check for the "GMT" zone subkey; this is present on | 54  * specifically check for the "GMT" zone subkey; this is present on | 
| 55  * NT, but on XP has become "GMT Standard Time".  We need to | 55  * NT, but on XP has become "GMT Standard Time".  We need to | 
| 56  * discriminate between these cases. | 56  * discriminate between these cases. | 
| 57  */ | 57  */ | 
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 429             uprv_strcpy(icuid, tmpid); | 429             uprv_strcpy(icuid, tmpid); | 
| 430         } | 430         } | 
| 431     } | 431     } | 
| 432 | 432 | 
| 433     ures_close(bundle); | 433     ures_close(bundle); | 
| 434 | 434 | 
| 435     return icuid; | 435     return icuid; | 
| 436 } | 436 } | 
| 437 | 437 | 
| 438 #endif /* U_PLATFORM_HAS_WIN32_API */ | 438 #endif /* U_PLATFORM_HAS_WIN32_API */ | 
| OLD | NEW | 
|---|