from datetime import datetime


def _from_yahoo_datetime(datetimestr: str) -> datetime:
    """ From format `YYYY.MM.DD（d）HH:MM 
    
    Parameters
    ----------
    datetimestr : str
        String of datetime on a Yahoo Auction page.

    Returns
    -------
    datetime
    """
    year: int = int(datetimestr[:4])
    month: int = int(datetimestr[5:7])
    day: int = int(datetimestr[8:10])
    hour: int = int(datetimestr[13:15])
    min: int = int(datetimestr[16:18])
    return datetime(year, month, day, hour, min)