forTimestampWebSafe

public static Stringifier<Timestamp> forTimestampWebSafe()

Obtains a stringifier for IDs based on Timestamps.

The stringifier replaces colons in time part of a string representation of a timestamp.

For example, the following string:

"1973-01-01T23:59:59.999999999Z"
would be converted to:
"1973-01-01T23-59-59.999999999Z"

This stringifier can be convenient for storing IDs based on Timestamps.