Victor Chang | 7322950 | 2020-09-17 13:39:19 +0100 | [diff] [blame] | 1 | // © 2016 and later: Unicode, Inc. and others. |
| 2 | // License & terms of use: http://www.unicode.org/copyright.html |
| 3 | /* |
| 4 | ******************************************************************************** |
| 5 | * Copyright (C) 2008-2011, International Business Machines |
| 6 | * Corporation and others. All Rights Reserved. |
| 7 | ******************************************************************************** |
| 8 | * |
| 9 | * File WINTZIMPL.H |
| 10 | * |
| 11 | ******************************************************************************** |
| 12 | */ |
| 13 | |
| 14 | #ifndef __WINTZIMPL |
| 15 | #define __WINTZIMPL |
| 16 | |
| 17 | #include "unicode/utypes.h" |
| 18 | |
| 19 | #if U_PLATFORM_USES_ONLY_WIN32_API |
| 20 | /** |
| 21 | * \file |
| 22 | * \brief C API: Utilities for dealing w/ Windows time zones. |
| 23 | */ |
| 24 | U_CDECL_BEGIN |
| 25 | /* Forward declarations for Windows types... */ |
| 26 | typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION; |
| 27 | U_CDECL_END |
| 28 | |
| 29 | /* |
| 30 | * This method was moved over from common/wintz.h to allow for access to i18n functions |
| 31 | * needed to get the Windows time zone information without using static tables. |
| 32 | */ |
| 33 | U_CAPI UBool U_EXPORT2 |
| 34 | uprv_getWindowsTimeZoneInfo(TIME_ZONE_INFORMATION *zoneInfo, const UChar *icuid, int32_t length); |
| 35 | |
| 36 | |
| 37 | #endif /* U_PLATFORM_USES_ONLY_WIN32_API */ |
| 38 | |
| 39 | #endif /* __WINTZIMPL */ |