def to_timezone(self, dt):
if timezone.is_aware(dt):<EOL><INDENT>return dt.astimezone(self.timezone)<EOL><DEDENT>else:<EOL><INDENT>return timezone.make_aware(dt, self.timezone)<EOL><DEDENT>
Converts a datetime to the timezone of this Schedule.