Function

CFTimeZoneIsDaylightSavingTime(_:_:)

Returns whether or not a time zone is in daylight savings time at a specified date.

Declaration

func CFTimeZoneIsDaylightSavingTime(_ tz: CFTimeZone!, _ at: CFAbsoluteTime) -> Bool

Parameters

tz

The time zone to analyze.

at

The date in tz to test for daylight savings.

Return Value

true if tz is in daylight savings time at at, otherwise false.

See Also

Getting Daylight Savings Time Information

func CFTimeZoneGetDaylightSavingTimeOffset(CFTimeZone!, CFAbsoluteTime) -> CFTimeInterval

Returns the daylight saving time offset for a time zone at a given time.

func CFTimeZoneGetNextDaylightSavingTimeTransition(CFTimeZone!, CFAbsoluteTime) -> CFAbsoluteTime

Returns the time in a given time zone of the next daylight saving time transition after a given time.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software