Function
ECaltime_week_begin_with_zone
Declaration [src]
time_t
time_week_begin_with_zone (
time_t time,
gint week_start_day,
const ICalTimezone* zone
)
Description [src]
Returns the start of the week containing the given time_t, using the given
timezone. week_start_day should use the same values as mktime(),
i.e. 0 (Sun) to 6 (Sat).
NOTE: this function is only here to make the transition to the timezone
functions easier. New code should use ICalTime values and
i_cal_time_adjust() to add or subtract days, hours, minutes & seconds.
Parameters
time-
Type:
time_tA time_t value.
week_start_day-
Type:
gintDay to use as the starting of the week.
zone-
Type:
NoneTimezone to use.
The data is owned by the caller of the function.