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

Side by Side Diff: source/common/wintz.c

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 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/common/uvectr64.cpp ('k') | source/config/m4/icu-conditional.m4 » ('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) 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
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
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 */
OLDNEW
« no previous file with comments | « source/common/uvectr64.cpp ('k') | source/config/m4/icu-conditional.m4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698