@cache_readonly<EOL><INDENT>def _get_business_hours_by_sec(self):<DEDENT>
if self._get_daytime_flag:<EOL><INDENT>dtstart = datetime(<NUM_LIT>, <NUM_LIT:4>, <NUM_LIT:1>, self.start.hour, self.start.minute)<EOL>until = datetime(<NUM_LIT>, <NUM_LIT:4>, <NUM_LIT:1>, self.end.hour, self.end.minute)<EOL>return (until - dtstart).total_seconds()<EOL><DEDENT>else:<EOL><INDENT>dtstart = datetime(<NUM_LIT>, <NUM_LIT:4>, <NUM_LIT:1>, self.start.hour, self.start.minute)<EOL>until = datetime(<NUM_LIT>, <NUM_LIT:4>, <NUM_LIT:2>, self.end.hour, self.end.minute)<EOL>return (until - dtstart).total_seconds()<EOL><DEDENT>
Return business hours in a day by seconds.