TimeConverter
object TimeConverter
Functions
Link copied to clipboard
Converts seconds to minutes
Link copied to clipboard
Gets the arrival time depending on the remaining duration and the departureTime
Link copied to clipboard
fun getArrivalTimeText(context: Context, durationToDest: Int, departureTime: Calendar = Calendar.getInstance()): String
Returns the formatted text to display the arrival time
Link copied to clipboard
Returns the formatted text to display the remaining duration