Welcome to mirror list, hosted at ThFree Co, Russian Federation.

LocaleDependentFormatPriceStrategy.java « taxi « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e4e33c573ab11844719cccd8fe0cff701108b958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.mapswithme.maps.taxi;

import android.support.annotation.NonNull;

import com.mapswithme.util.Utils;

class LocaleDependentFormatPriceStrategy implements FormatPriceStrategy
{
  @NonNull
  @Override
  public String format(@NonNull TaxiInfo.Product product)
  {
    return Utils.formatCurrencyString(product.getPrice(), product.getCurrency());
  }
}