operator + method

Snowflake operator +(
  1. Duration duration
)

Return a snowflake duration after this snowflake.

The returned snowflake has no workerId, processId or increment.

Implementation

Snowflake operator +(Duration duration) => Snowflake.fromDateTime(timestamp.add(duration));