Function

CFTimeZoneGetDaylightSavingTimeOffset(_:_:)

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

Declaration

func CFTimeZoneGetDaylightSavingTimeOffset(_ tz: CFTimeZone!, _ at: CFAbsoluteTime) -> CFTimeInterval

Parameters

tz

The time zone to analyze.

at

The time in tz to test for daylight saving time offset.

Return Value

The daylight saving time offset for tz at at.

See Also

Getting Daylight Savings Time Information

func CFTimeZoneIsDaylightSavingTime(CFTimeZone!, CFAbsoluteTime) -> Bool

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

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