time_add_day_with_zone


Description:

[ CCode ( cname = "time_add_day_with_zone" ) ]
public long time_add_day_with_zone (long time, int days, Timezone zone)

Adds or subtracts a number of days 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.

days

Number of days to add.

zone

Timezone to use.

Returns:

a time_t value containing time plus the days added.


Namespace: ECal
Package: libecal-2.0



2022 vala-language.org