1.1 --- a/imiptools/dates.py Wed Jul 29 00:18:59 2015 +0200
1.2 +++ b/imiptools/dates.py Wed Jul 29 16:39:08 2015 +0200
1.3 @@ -333,23 +333,6 @@
1.4 else:
1.5 return dt
1.6
1.7 -def get_freebusy_period(start, end, tzid):
1.8 -
1.9 - """
1.10 - For the given 'start' datetime, together with the given 'end' datetime, and
1.11 - given a 'tzid' either from the datetimes or provided for the user, return a
1.12 - (start, end) tuple containing datetimes in the UTC time zone, where dates
1.13 - are converted to points in time so that each day has a specific start and
1.14 - end point defined in UTC.
1.15 -
1.16 - Here, 'tzid' is used to "project" dates into a time zone of interest before
1.17 - then being converted into UTC start and end datetimes.
1.18 - """
1.19 -
1.20 - start = to_utc_datetime(start, tzid)
1.21 - end = to_utc_datetime(end, tzid)
1.22 - return start, end
1.23 -
1.24 # iCalendar-related conversions.
1.25
1.26 def end_date_from_calendar(dt):