from datetime import datetime


def min_to_datetime(minutes: int) -> datetime:
    """
    Converts an int representation in minutes to a datetime.

    To do the reverse use: datetime_to_min.

    Parameters
    ----------
    minutes : int
        Represents minutes

    Returns
    -------
    datetime
        Represents minutes in datetime format

    Example
    -------
    >>> from pymove.utils.datetime import min_to_datetime
    >>> print(min_to_datetime(26996497), type(min_to_datetime(26996497)))
    '2021-04-30 13:37:00 <class 'datetime.datetime'>'
    """
    return datetime.utcfromtimestamp(minutes * 60)