com.moneydance.apps.md.model
Class CurrencyType.Snapshot

java.lang.Object
  extended by com.moneydance.apps.md.model.CurrencyType.Snapshot
Enclosing class:
CurrencyType

public final class CurrencyType.Snapshot
extends java.lang.Object


Constructor Summary
CurrencyType.Snapshot()
           
 
Method Summary
 long getDailyVolume()
          Get the daily volume for this currency (used only for securities)
 long getDate()
          Deprecated. use getDateInt() instead
 int getDateInt()
          Get the date for this snapshot
 double getRawRate()
          Get the rate used to compute values in different currencies
 double getUserDailyHigh()
          Get the highest rate recorded on the date of this snapshot (used only for securities)
 double getUserDailyLow()
          Get the lowest rate recorded on the date of this snapshot (used only for securities)
 double getUserRate()
          Get the closing rate for the given day
 void setDailyVolume(long newVolume)
           
 void setDate(long newDate)
           
 void setDateInt(int date)
           
 void setRawRate(double rt)
           
 void setUserDailyHigh(double newUserHigh)
           
 void setUserDailyLow(double newUserLow)
           
 void setUserRate(double rate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyType.Snapshot

public CurrencyType.Snapshot()
Method Detail

getDate

public final long getDate()
Deprecated. use getDateInt() instead

Get the date for this snapshot


getDateInt

public final int getDateInt()
Get the date for this snapshot


getUserRate

public final double getUserRate()
Get the closing rate for the given day


getRawRate

public final double getRawRate()
Get the rate used to compute values in different currencies


getDailyVolume

public final long getDailyVolume()
Get the daily volume for this currency (used only for securities)


getUserDailyHigh

public final double getUserDailyHigh()
Get the highest rate recorded on the date of this snapshot (used only for securities)


getUserDailyLow

public final double getUserDailyLow()
Get the lowest rate recorded on the date of this snapshot (used only for securities)


setDate

public final void setDate(long newDate)

setDateInt

public final void setDateInt(int date)

setUserRate

public final void setUserRate(double rate)

setRawRate

public final void setRawRate(double rt)

setDailyVolume

public final void setDailyVolume(long newVolume)

setUserDailyLow

public final void setUserDailyLow(double newUserLow)

setUserDailyHigh

public final void setUserDailyHigh(double newUserHigh)