def get_christmas_shifts(self, year):
xmas = date(year, <NUM_LIT:12>, <NUM_LIT>)<EOL>if xmas.weekday() in (TUE, WED, THU):<EOL><INDENT>return []<EOL><DEDENT>if xmas.weekday() == FRI:<EOL><INDENT>return [<EOL>(date(year, <NUM_LIT:12>, <NUM_LIT>), "<STR_LIT>"),<EOL>]<EOL><DEDENT>elif xmas.weekday() == SAT:<EOL><INDENT>warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL>return [<EOL>(date(year, <NUM_LIT:12>, <NUM_LIT>), "<STR_LIT>"),<EOL>(date(year, <NUM_LIT:12>, <NUM_LIT>), "<STR_LIT>"),<EOL>]<EOL><DEDENT>elif xmas.weekday() == SUN:<EOL><INDENT>return [<EOL>(date(year, <NUM_LIT:12>, <NUM_LIT>), "<STR_LIT>"),<EOL>(date(year, <NUM_LIT:12>, <NUM_LIT>), "<STR_LIT>"),<EOL>]<EOL><DEDENT>elif xmas.weekday() == MON:<EOL><INDENT>return [<EOL>(date(year, <NUM_LIT:12>, <NUM_LIT>), "<STR_LIT>"),<EOL>]<EOL><DEDENT>
Return Specific Christmas days extra shifts.
There must be 3 holidays in a row: Christmas Eve, Christmas Day and
Boxing Day. If one or the other falls on SUN/SAT, extra days must be
added.