"""
The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0).
https://creativecommons.org/licenses/by/4.0/
https://creativecommons.org/licenses/by/4.0/legalcode

Copyright (c) COLONOLNUTTY
"""
from datetime import datetime


class CommonRealDateUtils:
    """A utility for managing real life date and time.

    .. note:: This utility is used to handle the Real Time and not the Game Time.

    """
    @staticmethod
    def get_current_date_time() -> datetime:
        """get_current_date_time()

        Retrieve the current date and time.

        :return: The current real date and time.
        :rtype: datetime
        """
        return datetime.now()

    @staticmethod
    def get_current_date_string() -> str:
        """get_current_date_string()

        Retrieve the current date as a pre-formatted string.

        :return: The string representation of the current real date.
        :rtype: str
        """
        return str(datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f'))

"""
The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0).
https://creativecommons.org/licenses/by/4.0/
https://creativecommons.org/licenses/by/4.0/legalcode

Copyright (c) COLONOLNUTTY
"""
from datetime import datetime


class CommonRealDateUtils:
    """A utility for managing real life date and time.

    .. note:: This utility is used to handle the Real Time and not the Game Time.

    """
    @staticmethod
    def get_current_date_time() -> datetime:
        """get_current_date_time()

        Retrieve the current date and time.

        :return: The current real date and time.
        :rtype: datetime
        """
        return datetime.now()

    @staticmethod
    def get_current_date_string() -> str:
        """get_current_date_string()

        Retrieve the current date as a pre-formatted string.

        :return: The string representation of the current real date.
        :rtype: str
        """
        return str(datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f'))

The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode  Copyright (c) COLONOLNUTTY A utility for managing real life date and time.      .. note:: This utility is used to handle the Real Time and not the Game Time. get_current_date_time()          Retrieve the current date and time.          :return: The current real date and time.         :rtype: datetime get_current_date_string()          Retrieve the current date as a pre-formatted string.          :return: The string representation of the current real date.         :rtype: str