1.1 --- a/imiptools/data.py Tue Feb 09 15:57:23 2016 +0100
1.2 +++ b/imiptools/data.py Wed Mar 02 21:17:11 2016 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Interpretation of vCalendar content.
1.6
1.7 -Copyright (C) 2014, 2015 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2014, 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -29,7 +29,7 @@
1.13 get_recurrence_start_point, \
1.14 get_time, get_tzid, to_datetime, to_timezone, \
1.15 to_utc_datetime
1.16 -from imiptools.period import FreeBusyPeriod, Period, RecurringPeriod, period_overlaps
1.17 +from imiptools.period import FreeBusyPeriod, Period, RecurringPeriod
1.18 from vCalendar import iterwrite, parse, ParseError, to_dict, to_node
1.19 from vRecurrence import get_parameters, get_rule
1.20 import email.utils
1.21 @@ -568,7 +568,7 @@
1.22 # Get a constrained view if start and end limits are specified.
1.23
1.24 if period:
1.25 - periods = period_overlaps(freebusy, period, True)
1.26 + periods = freebusy.period_overlaps(period, True)
1.27 else:
1.28 periods = freebusy
1.29