def next_iso_week_date(self): """The first day of the next ISO week """ from htk.utils.datetime_utils import iso_to_gregorian iso_year, iso_week, iso_day = self.one_week_later_date.isocalendar() return iso_to_gregorian(iso_year, iso_week, 1)
def current_iso_week_date(self): from htk.utils.datetime_utils import iso_to_gregorian iso_year, iso_week, iso_day = self.localized_date.isocalendar() return iso_to_gregorian(iso_year, iso_week, 1)