Code example for Currency

Methods: getCurrencyCode

0
        return callback.getResultinMillis();
    } 
 
    private String provideUrl(Currency from, Currency to) {
        return EXCHANGE_RATE_SERVICE_URL
                .replace(SOURCE_CURRENCY_CODE_PLACEHOLDER, from.getCurrencyCode())
                .replace(TARGET_CURRENCY_CODE_PLACEHOLDER, to.getCurrencyCode());
    } 
 
    public ImportOrigin getOriginToBeUsed() { 
        return ImportOrigin.GOOGLE; 
    } 
 
    private final class ResponseTimeDeterminationCallback implements AsyncJsonParserResultCallback { 
 
        boolean hasResult = false;
        long result = 0;
        private final long startTime;
 
        public ResponseTimeDeterminationCallback(long startTime) {
            this.startTime = startTime;