wintzimpl.h revision c73f511526464f8e56c242df80552e9b0d94ae3d
1/*
2********************************************************************************
3*   Copyright (C) 2008-2011, International Business Machines
4*   Corporation and others.  All Rights Reserved.
5********************************************************************************
6*
7* File WINTZIMPL.H
8*
9********************************************************************************
10*/
11
12#ifndef __WINTZIMPL
13#define __WINTZIMPL
14
15#include "unicode/utypes.h"
16
17#if U_PLATFORM_HAS_WIN32_API
18/**
19 * \file
20 * \brief C API: Utilities for dealing w/ Windows time zones.
21 */
22U_CDECL_BEGIN
23/* Forward declarations for Windows types... */
24typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION;
25U_CDECL_END
26
27/*
28 * This method was moved over from common/wintz.h to allow for access to i18n functions
29 * needed to get the Windows time zone information without using static tables.
30 */
31U_CAPI UBool U_EXPORT2
32uprv_getWindowsTimeZoneInfo(TIME_ZONE_INFORMATION *zoneInfo, const UChar *icuid, int32_t length);
33
34
35#endif /* U_PLATFORM_HAS_WIN32_API */
36
37#endif /* __WINTZIMPL */
38