Newer
Older
Handbook / calendar / teachingdates / calendars / weeks.py
Nigel Stanger on 26 Nov 2019 369 bytes Renamed module
import datetime


class IsoWeek(datetime.date):
    """Datetime representing the Monday of an ISO-8601 week.
    """
    pass


class TeachingWeek(datetime.date):
    """Datetime representing the Monday of a teaching week.
    """
    pass


class BreakWeek(datetime.date):
    """Datetime representing the Monday of a break (e.g., mid-semester) week.
    """
    pass