operator - method

Snowflake operator -(
  1. Duration duration
)

Return a snowflake duration before this snowflake.

The returned snowflake has no workerId, processId or increment.

Implementation

Snowflake operator -(Duration duration) => Snowflake.fromDateTime(timestamp.subtract(duration));