def timedelta_hours(timedelta_utc, up = True):
    """
    Compute difference of times in hours, rounds up in case of incomplete hours.

    :param delta_utc: difference of two datetime objects
    :param up: round up if True, down in False
    :return: number of hours rounded to whole hour
    """
    return int(timedelta_utc.total_seconds() + ((3600 - 0.001)if up else 0 )) // 3600