Skip to content

Commit

Permalink
added to string function
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieTap committed Nov 6, 2022
1 parent d68b5c9 commit bf2caba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commonMain/kotlin/com/tap/hlc/HybridLogicalClock.kt
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,9 @@ data class HybridLogicalClock(
timestamp.epochMillis.compareTo(other.timestamp.epochMillis)
}
}

override fun toString(): String {
return encodeToString(this)
}

}

0 comments on commit bf2caba

Please sign in to comment.