TimetokenUtil

Utility object for converting PubNub timetokens to various date-time representations and vice versa.

This utility provides methods for converting between PubNub timetokens, Unix timestamps, and date-time objects. A PubNub timetoken is a 17-digit number that represents the number of 100-nanosecond intervals since January 1, 1970 (UTC). These methods allow for easy conversion between different time representations used in PubNub, Unix, and standard date-time formats.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion