CFTimeZoneCreateWithTimeIntervalFromGMT(_:_:)
Returns a time zone object for the specified time interval offset from Greenwich Mean Time (GMT).
Declaration
func CFTimeZoneCreateWithTimeIntervalFromGMT(_ allocator: CFAllocator!, _ ti: CFTimeInterval) -> CFTimeZone!Parameters
- allocator:
The allocator object to use to allocate memory for the new time zone. Pass
NULLor kCFAllocatorDefault to use the current default allocator. - ti:
The offset, from GMT, of the new time zone.
Return Value
A new time zone whose offset from GMT is given by the interval ti. The name of the new time zone is GMT +/- the offset, in hours and minutes. Time zones created with this function never have daylight savings, and the offset is constant no matter what the date. Ownership follows the The Create Rule.