Skip to content

Commit

Permalink
Add docstring in Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
mscwilson committed May 30, 2024
1 parent d9b4f2c commit 2ca4b89
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ object Util {
return System.currentTimeMillis().toString()
}

/**
* Converts a timestamp in milliseconds to a DateTime.
*/
@JvmStatic
fun getDateTimeFromTimestamp(timestamp: Long): String {
val date = Date(timestamp)
Expand Down

0 comments on commit 2ca4b89

Please sign in to comment.