def _get_offset_day(self, other):
mstart = datetime(other.year, other.month, <NUM_LIT:1>)<EOL>wday = mstart.weekday()<EOL>shift_days = (self.weekday - wday) % <NUM_LIT:7><EOL>return <NUM_LIT:1> + shift_days + self.week * <NUM_LIT:7><EOL>
Find the day in the same month as other that has the same
weekday as self.weekday and is the self.week'th such day in the month.

Parameters
----------
other : datetime

Returns
-------
day : int