[ CCode ( cname = "time_week_begin_with_zone" ) ]
public time_t time_week_begin_with_zone (time_t time, int week_start_day, Timezone zone)
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 adjust to add or subtract days, hours, minutes & seconds.
| time |
A time_t value. |
| week_start_day |
Day to use as the starting of the week. |
| zone |
Timezone to use. |
|
the beginning of the week. |