Home | History | Annotate | Download | only in i18n
      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  */
     22 U_CDECL_BEGIN
     23 /* Forward declarations for Windows types... */
     24 typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION;
     25 U_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  */
     31 U_CAPI UBool U_EXPORT2
     32 uprv_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