public static final String millisToMinSecString(long lMillis){
  return String.format("%d hours %d min %d sec",lMillis / (1000 * 60 * 60),(lMillis / (1000 * 60)) % 60,(lMillis / 1000) % 60);
}

public static final String millisToMinSecString ( long lMillis ) { return String . format ( "%d hours %d min %d sec" , lMillis / ( 1000 * 60 * 60 ) , ( lMillis / ( 1000 * 60 ) ) % 60 , ( lMillis / 1000 ) % 60 ) ; }
converts milliseconds to a string representation of x hours , y min , z sec .
