27#ifndef __COREFOUNDATION_CFTIMEZONE__
28#define __COREFOUNDATION_CFTIMEZONE__ 1
30#include <CoreFoundation/CFBase.h>
31#include <CoreFoundation/CFArray.h>
32#include <CoreFoundation/CFData.h>
33#include <CoreFoundation/CFDate.h>
34#include <CoreFoundation/CFDictionary.h>
35#include <CoreFoundation/CFLocale.h>
42CF_EXPORT
const CFStringRef kCFTimeZoneSystemTimeZoneDidChangeNotification;
44#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
47 kCFTimeZoneNameStyleStandard,
48 kCFTimeZoneNameStyleShortStandard,
49 kCFTimeZoneNameStyleDaylightSaving,
50 kCFTimeZoneNameStyleShortDaylightSaving
55CF_EXPORT CFTimeZoneRef
59CF_EXPORT CFTimeZoneRef
63CF_EXPORT CFTimeZoneRef
64CFTimeZoneCreate (
CFAllocatorRef alloc, CFStringRef name, CFDataRef data);
66CF_EXPORT CFDictionaryRef
67CFTimeZoneCopyAbbreviationDictionary (
void);
70CFTimeZoneCopyAbbreviation (CFTimeZoneRef tz, CFAbsoluteTime at);
72CF_EXPORT CFTimeZoneRef
73CFTimeZoneCopyDefault (
void);
75CF_EXPORT CFTimeZoneRef
76CFTimeZoneCopySystem (
void);
79CFTimeZoneSetDefault (CFTimeZoneRef tz);
82CFTimeZoneCopyKnownNames (
void);
85CFTimeZoneResetSystem (
void);
88CFTimeZoneSetAbbreviationDictionary (CFDictionaryRef dict);
91CFTimeZoneGetName (CFTimeZoneRef tz);
93CF_EXPORT CFTimeInterval
94CFTimeZoneGetSecondsFromGMT (CFTimeZoneRef tz, CFAbsoluteTime at);
97CFTimeZoneGetData (CFTimeZoneRef tz);
100CFTimeZoneIsDaylightSavingTime (CFTimeZoneRef tz, CFAbsoluteTime at);
103CFTimeZoneGetTypeID (
void);
105#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
107CFTimeZoneCopyLocalizedName (CFTimeZoneRef tz, CFTimeZoneNameStyle style,
110CF_EXPORT CFTimeInterval
111CFTimeZoneGetDaylightSavingTimeOffset (CFTimeZoneRef tz, CFAbsoluteTime at);
113CF_EXPORT CFAbsoluteTime
114CFTimeZoneGetNextDaylightSavingTimeTransition (CFTimeZoneRef tz,
const struct __CFAllocator * CFAllocatorRef
A reference to a CFAllocator object.
Definition CFBase.h:301
const struct __CFArray * CFArrayRef
Reference to an immutable array object.
Definition CFArray.h:37