def _timedeltaToSignHrMin(offset):
minutes = round((offset.days * <NUM_LIT> * <NUM_LIT><EOL>+ offset.seconds * <NUM_LIT><EOL>+ offset.microseconds)<EOL>/ <NUM_LIT>)<EOL>if minutes < <NUM_LIT:0>:<EOL><INDENT>sign = '<STR_LIT:->'<EOL>minutes = -minutes<EOL><DEDENT>else:<EOL><INDENT>sign = '<STR_LIT:+>'<EOL><DEDENT>return (sign, minutes // <NUM_LIT>, minutes % <NUM_LIT>)<EOL>
Return a (sign, hour, minute) triple for the offset described by timedelta.

sign is a string, either "+" or "-". In the case of 0 offset, sign is "+".