Contents

CFAbsoluteTimeAddGregorianUnits(_:_:_:)

Adds a time interval, expressed as Gregorian units, to a given absolute time.

Declaration

func CFAbsoluteTimeAddGregorianUnits(_ at: CFAbsoluteTime, _ tz: CFTimeZone!, _ units: CFGregorianUnits) -> CFAbsoluteTime

Parameters

  • at:

    The absolute time to which the interval is added.

  • tz:

    The time zone to use for time correction. Pass NULL for GMT.

  • units:

    The time interval to add to at.

Return Value

An absolute time value equal to the sum of at and units.

See Also

Core Foundation Time Utilities Miscellaneous Functions