1.1 --- a/task4/solution11/src/org/apidesign/apifest08/currency/ExchangeRateProvider.java Sat Oct 11 23:38:46 2008 +0200
1.2 +++ b/task4/solution11/src/org/apidesign/apifest08/currency/ExchangeRateProvider.java Fri Oct 17 17:34:40 2008 +0200
1.3 @@ -1,5 +1,7 @@
1.4 package org.apidesign.apifest08.currency;
1.5
1.6 +import java.util.Date;
1.7 +
1.8 /**
1.9 * Exchange rate provider.
1.10 *
1.11 @@ -16,6 +18,7 @@
1.12
1.13 private IdentifierType currencyAIdentifier;
1.14 private IdentifierType currencyBIdentifier;
1.15 + private Date instant;
1.16
1.17 ExchangeRateRequest() {
1.18 }
1.19 @@ -35,6 +38,14 @@
1.20 void setCurrencyBIdentifier(IdentifierType currencyBIdentifier) {
1.21 this.currencyBIdentifier = currencyBIdentifier;
1.22 }
1.23 +
1.24 + public Date getInstant() {
1.25 + return instant;
1.26 + }
1.27 +
1.28 + void setInstant(Date instant) {
1.29 + this.instant = instant;
1.30 + }
1.31 }
1.32
1.33 public final class ExchangeRateResponse<AmountType, IdentifierType> {