(
    date_: date
)
return midnight_starting(date_ + timedelta(days=1))
Returns the end of the day

    >>> dec_31 = date(1999, 12, 31)
    >>> party_like_its = midnight_ending(dec_31)
    >>> party_like_its.isoformat()
    '2000-01-01T00:00:00'
Returns the end of the day
Returns the end of the day
def midnight_ending(
    date_: date
) -> datetime:
    """
    Returns the end of the day

    >>> dec_31 = date(1999, 12, 31)
    >>> party_like_its = midnight_ending(dec_31)
    >>> party_like_its.isoformat()
    '2000-01-01T00:00:00'

    """
    return midnight_starting(date_ + timedelta(days=1))
def midnight_ending ( date_ : date ) -> datetime : return midnight_starting ( date_ + timedelta ( days = 1 ) )