Android Distance Calculate getTempsTrajetBus(int distance)

Here you can find the source of getTempsTrajetBus(int distance)

Description

get Temps Trajet Bus

Declaration

public static int getTempsTrajetBus(int distance) 

Method Source Code

//package com.java2s;

public class Main {
    public static int getTempsTrajetBus(int distance) {
        double coef = 1.4;
        return (int) ((distance * coef) / 11.1);
    }/*from   ww w  .  j  a va 2  s  .c om*/
}

Related

  1. distance(int q1, int r1, int q2, int r2)
  2. distanceBetweenTwoLatLongs(Location oldLocation, Location newLocation)
  3. distanceInMeters(float distance)
  4. distanceBetweenTwoPoints(double lat1, double lng1, double lat2, double lng2)
  5. KmToMiles(int distance)
  6. getTempsTrajetPied(int distance)
  7. hammingDistance(String sourceHashCode, String hashCode)
  8. getMessageForDistance(long distance)
  9. calculateEte(boolean useBearing, double distance, double speed, double bearing, double heading)