import datetime
import re
import random  # Unused import


def get_current_time():
    """Get current time as ISO string - used function."""
    return datetime.datetime.now().isoformat()


def format_currency(amount, currency="USD"):
    """Format amount as currency string - used function."""
    symbols = {"USD": "$", "EUR": "€", "GBP": "£"}
    symbol = symbols.get(currency, "")
    return f"{symbol}{amount:.2f}"


def generate_random_token():
    """Generate random token - unused function."""
    import secrets

    return secrets.token_hex(16)


def validate_email(email):
    """Validate email format - unused function."""
    pattern = r"^[\w\.-]+@[\w\.-]+\.\w+$"
    return bool(re.match(pattern, email))


class DateUtils:
    """Date utility class - unused class."""

    @staticmethod
    def get_tomorrow():
        """Get tomorrow's date - unused method."""
        return datetime.datetime.now() + datetime.timedelta(days=1)

    @staticmethod
    def format_date(date, format_str="%Y-%m-%d"):
        """Format date - unused method."""
        return date.strftime(format_str)
