CFAbsoluteTimeAddGregorianUnits(_:_:_:)
Adds a time interval, expressed as Gregorian units, to a given absolute time.
Declaration
func CFAbsoluteTimeAddGregorianUnits(_ at: CFAbsoluteTime, _ tz: CFTimeZone!, _ units: CFGregorianUnits) -> CFAbsoluteTimeParameters
- at:
The absolute time to which the interval is added.
- tz:
The time zone to use for time correction. Pass
NULLfor GMT. - units:
The time interval to add to
at.
Return Value
An absolute time value equal to the sum of at and units.