(self, start, end)
:param start: a ``datetime`` or ``adatetime`` object representing the
            start of the time span.
        :param end: a ``datetime`` or ``adatetime`` object representing the
            end of the time span.
:param start: a ``datetime`` or ``adatetime`` object representing the
            start of the time span.
        :param end: a ``datetime`` or ``adatetime`` object representing the
            end of the time span.
: param start : a datetime or adatetime object representing the start of the time span . : param end : a datetime or adatetime object representing the end of the time span .
def __init__(self, start, end):
        """
        :param start: a ``datetime`` or ``adatetime`` object representing the
            start of the time span.
        :param end: a ``datetime`` or ``adatetime`` object representing the
            end of the time span.
        """

        if not isinstance(start, (datetime, adatetime)):
            raise TimeError("%r is not a datetime object" % start)
        if not isinstance(end, (datetime, adatetime)):
            raise TimeError("%r is not a datetime object" % end)

        self.start = copy.copy(start)
        self.end = copy.copy(end)
def __init__ ( self , start , end ) : if not isinstance ( start , ( datetime , adatetime ) ) : raise TimeError ( "%r is not a datetime object" % start ) if not isinstance ( end , ( datetime , adatetime ) ) : raise TimeError ( "%r is not a datetime object" % end ) self . start = copy . copy ( start ) self . end = copy . copy ( end )