timetokenToInstant

Converts a PubNub timetoken (a unique identifier for each message sent and received in a PubNub channel that is a number of 100-nanosecond intervals since January 1, 1970) to LocalDateTime object representing the corresponding moment in time.

Return

Instant representing the corresponding moment in time.

Parameters

timetoken

PubNub timetoken

Throws

if the timetoken does not have 17 digits.