Update of /cvsroot/tail/Tail/src/java/net/sf/tail/tick
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5655/src/java/net/sf/tail/tick
Modified Files:
DefaultTick.java
Log Message:
Index: DefaultTick.java
===================================================================
RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/tick/DefaultTick.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DefaultTick.java 7 Nov 2007 23:40:48 -0000 1.1
--- DefaultTick.java 7 Mar 2008 16:11:30 -0000 1.2
***************
*** 60,65 ****
}
! public DefaultTick(double openPrice, double closePrice, double maxPrice, double minPrice) {
super();
this.openPrice = openPrice;
this.closePrice = closePrice;
--- 60,66 ----
}
! public DefaultTick(DateTime data, double openPrice, double closePrice, double maxPrice, double minPrice) {
super();
+ this.date = data;
this.openPrice = openPrice;
this.closePrice = closePrice;
***************
*** 68,71 ****
--- 69,80 ----
}
+ public DefaultTick(double openPrice, double closePrice, double maxPrice, double minPrice) {
+ super();
+ this.openPrice = openPrice;
+ this.closePrice = closePrice;
+ this.maxPrice = maxPrice;
+ this.minPrice = minPrice;
+ }
+
public DefaultTick(double d, DateTime dateTime) {
this.closePrice = d;
|