phonebill.phonelog
Class PhonePriceRule
java.lang.Object
|
+--phonebill.phonelog.PhonePriceRule
- class PhonePriceRule
- extends java.lang.Object
This class defines a single rule for phone call pricing.
Constructor Summary |
PhonePriceRule(int day,
int msecs,
double price)
|
PhonePriceRule(int day,
int msecs,
double price,
int msecsDiscount,
double discount)
|
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
header
public static final java.lang.String header
day
public final int day
msecs
public final int msecs
price
public final double price
msecsDiscount
public final int msecsDiscount
discount
public final double discount
PhonePriceRule
public PhonePriceRule(int day,
int msecs,
double price,
int msecsDiscount,
double discount)
PhonePriceRule
public PhonePriceRule(int day,
int msecs,
double price)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object