time_add_week_with_zone


Description:

[ CCode ( cname = "time_add_week_with_zone" ) ]
public long time_add_week_with_zone (long time, int weeks, Timezone zone)

Adds or subtracts a number of weeks to/from the given time_t value, using the given timezone.

NOTE: this function is only here to make the transition to the timezone functions easier. New code should use ICalTime values and adjust to add or subtract days, hours, minutes & seconds.

Parameters:

time

A time_t value.

weeks

Number of weeks to add.

zone

Timezone to use.

Returns:

a time_t value containing time plus the weeks added.


Namespace: ECal
Package: libecal-2.0