getDifferenceInMin

fun getDifferenceInMin(startTime: Long, endTime: Long): Int

method to get minutes from start and end time

Return

minutes as Integer

Parameters

startTime

provide start time in millis

endTime

provide end time in millis