time_week_begin_with_zone
Description:
[ CCode ( cname = "time_week_begin_with_zone" ) ]
public long time_week_begin_with_zone (long time, int week_start_day, Timezone zone)
public long time_week_begin_with_zone (long 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.
Parameters:
time |
A time_t value. |
week_start_day |
Day to use as the starting of the week. |
zone |
Timezone to use. |
Returns:
the beginning of the week. |
Namespace: ECal
Package: libecal-2.0