def METHOD_NAME(
    year, month, day, hour=0, minute=0, second=0, microsecond=0, tz_offset=None
):
    tzinfo = (
        datetime.timezone(datetime.timedelta(hours=tz_offset))
        if tz_offset
        else datetime.timezone.utc
    )
    return datetime.datetime(
        year, month, day, hour, minute, second, microsecond, tzinfo=tzinfo
    )