Imported Upstream version 59.1
[platform/upstream/icu.git] / source / common / wintz.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 ********************************************************************************
5 *   Copyright (C) 2005-2011, International Business Machines
6 *   Corporation and others.  All Rights Reserved.
7 ********************************************************************************
8 *
9 * File WINTZ.H
10 *
11 ********************************************************************************
12 */
13
14 #ifndef __WINTZ
15 #define __WINTZ
16
17 #include "unicode/utypes.h"
18
19 // This file contains only desktop windows behavior
20 // Windows UWP calls Windows::Globalization directly, so this isn't needed there.
21 #if U_PLATFORM_USES_ONLY_WIN32_API && (U_PLATFORM_HAS_WINUWP_API == 0)
22
23 /**
24  * \file 
25  * \brief C API: Utilities for dealing w/ Windows time zones.
26  */
27
28 U_CDECL_BEGIN
29 /* Forward declarations for Windows types... */
30 typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION;
31 U_CDECL_END
32
33 U_CFUNC const char* U_EXPORT2
34 uprv_detectWindowsTimeZone();
35
36 #endif /* U_PLATFORM_USES_ONLY_WIN32_API && (U_PLATFORM_HAS_WINUWP_API == 0) */
37
38 #endif /* __WINTZ */