wintzimpl.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifndef __WINTZIMPL
  14. #define __WINTZIMPL
  15. #include "unicode/utypes.h"
  16. #if U_PLATFORM_USES_ONLY_WIN32_API
  17. /**
  18. * \file
  19. * \brief C API: Utilities for dealing w/ Windows time zones.
  20. */
  21. U_CDECL_BEGIN
  22. /* Forward declarations for Windows types... */
  23. typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION;
  24. U_CDECL_END
  25. /*
  26. * This method was moved over from common/wintz.h to allow for access to i18n functions
  27. * needed to get the Windows time zone information without using static tables.
  28. */
  29. U_CAPI UBool U_EXPORT2
  30. uprv_getWindowsTimeZoneInfo(TIME_ZONE_INFORMATION *zoneInfo, const UChar *icuid, int32_t length);
  31. #endif /* U_PLATFORM_USES_ONLY_WIN32_API */
  32. #endif /* __WINTZIMPL */