Class ExchangeRateChange

java.lang.Object
org.consensusj.exchange.ExchangeRateChange

Deprecated.
Data object passed to `ExchangeRateObserver` on rate updates TODO: This should become a JavaMoney version of the XChange Ticker It should have the JavaMoney currency types, all the rates, An optional server timestamp and a mandatory client timestamp TODO: And it should probably be called "Update" rather than "Change" -- if the timestamp was updated but the exchange rate didn't, users still want to know.
  • Field Details

    • rate

      public final javax.money.convert.ExchangeRate rate
      Deprecated.
    • timestamp

      public final Long timestamp
      Deprecated.
  • Constructor Details

    • ExchangeRateChange

      public ExchangeRateChange(javax.money.convert.ExchangeRate rate, long timestamp)
      Deprecated.