def METHOD_NAME(self, high: bool = False) -> Union[str, "Snowflake"]:
    """
    Returns a numeric snowflake pretending to be created at the given date.
    When using as the lower end of a range, use ``tosnowflake(high=False) - 1``
    to be inclusive, ``high=True`` to be exclusive.
    When using as the higher end of a range, use ``tosnowflake(high=True) + 1``
    to be inclusive, ``high=False`` to be exclusive
    """
    discord_millis = int(self.timestamp() * 1000 - DISCORD_EPOCH)
    return (discord_millis << 22) + (2**22 - 1 if high else 0)