def time_from_number(self, value):
if not isinstance(value, numbers.Real):<EOL><INDENT>return None<EOL><DEDENT>delta = datetime.timedelta(days=value)<EOL>minutes, second = divmod(delta.seconds, <NUM_LIT>)<EOL>hour, minute = divmod(minutes, <NUM_LIT>)<EOL>return datetime.time(hour, minute, second)<EOL>
Converts a float value to corresponding time instance.