src/bda/calendar/base/calculator.py
def hoursOfDay(year, month, day, tzinfo=None):
    """Yield all hours of a day as datetimes."""
    hour = datetime.datetime(year, month, day, 0, 0, 0, tzinfo=tzinfo)
    delta = datetime.timedelta(0, 3600)
    for i in range(23):
        yield hour
        hour += delta
    yield hour
Yield all hours of a day as datetimes.
Yield all hours of a day as datetimes.
Yield all hours of a day as datetimes .
def hoursOfDay(year, month, day, tzinfo=None):
    hour = datetime.datetime(year, month, day, 0, 0, 0, tzinfo=tzinfo)
    delta = datetime.timedelta(0, 3600)
    for i in range(23):
        yield hour
        hour += delta
    yield hour
def hoursOfDay ( year , month , day , tzinfo = None ) : hour = datetime . datetime ( year , month , day , 0 , 0 , 0 , tzinfo = tzinfo ) delta = datetime . timedelta ( 0 , 3600 ) for i in range ( 23 ) : yield hour hour += delta yield hour
Yield all hours of a day as datetimes.
Yield all hours of a day as datetimes .
"""Yield all hours of a day as datetimes."""
year
month
day
tzinfo