def is_possible_hour(self, hour):
if hour > <NUM_LIT> and self.is_possible_hour(<NUM_LIT:0>):<EOL><INDENT>hour = int(hour)<EOL><DEDENT>if not self._is_overnight:<EOL><INDENT>return self.st_time.hour <= hour <= self.end_time.hour<EOL><DEDENT>else:<EOL><INDENT>return self.st_time.hour <= hour <= <NUM_LIT> or<NUM_LIT:0> <= hour <= self.end_time.hour<EOL><DEDENT>
Check if a float hour is a possible hour for this analysis period.