List of usage examples for org.jfree.date MonthConstants FEBRUARY
int FEBRUARY
To view the source code for org.jfree.date MonthConstants FEBRUARY.
Click Source Link
From source file:org.jfree.chart.demo.PriceVolumeDemo.java
/** * Creates a sample dataset.//from w w w .j ava 2 s . c om * * @return A sample dataset. */ private IntervalXYDataset createVolumeDataset() { // create dataset 2... final TimeSeries series1 = new TimeSeries("Volume", Day.class); series1.add(new Day(2, MonthConstants.JANUARY, 2002), 41020); series1.add(new Day(3, MonthConstants.JANUARY, 2002), 45586); series1.add(new Day(4, MonthConstants.JANUARY, 2002), 81672); series1.add(new Day(7, MonthConstants.JANUARY, 2002), 81975); series1.add(new Day(8, MonthConstants.JANUARY, 2002), 79692); series1.add(new Day(9, MonthConstants.JANUARY, 2002), 53187); series1.add(new Day(10, MonthConstants.JANUARY, 2002), 87929); series1.add(new Day(11, MonthConstants.JANUARY, 2002), 107047); series1.add(new Day(14, MonthConstants.JANUARY, 2002), 86276); series1.add(new Day(15, MonthConstants.JANUARY, 2002), 79005); series1.add(new Day(16, MonthConstants.JANUARY, 2002), 80632); series1.add(new Day(17, MonthConstants.JANUARY, 2002), 88797); series1.add(new Day(18, MonthConstants.JANUARY, 2002), 57179); series1.add(new Day(22, MonthConstants.JANUARY, 2002), 36611); series1.add(new Day(23, MonthConstants.JANUARY, 2002), 57063); series1.add(new Day(24, MonthConstants.JANUARY, 2002), 101938); series1.add(new Day(25, MonthConstants.JANUARY, 2002), 87177); series1.add(new Day(28, MonthConstants.JANUARY, 2002), 39831); series1.add(new Day(29, MonthConstants.JANUARY, 2002), 67654); series1.add(new Day(30, MonthConstants.JANUARY, 2002), 81162); series1.add(new Day(31, MonthConstants.JANUARY, 2002), 64923); series1.add(new Day(1, MonthConstants.FEBRUARY, 2002), 73481); series1.add(new Day(4, MonthConstants.FEBRUARY, 2002), 54723); series1.add(new Day(5, MonthConstants.FEBRUARY, 2002), 76708); series1.add(new Day(6, MonthConstants.FEBRUARY, 2002), 81281); series1.add(new Day(7, MonthConstants.FEBRUARY, 2002), 66553); series1.add(new Day(8, MonthConstants.FEBRUARY, 2002), 53592); series1.add(new Day(11, MonthConstants.FEBRUARY, 2002), 29410); series1.add(new Day(12, MonthConstants.FEBRUARY, 2002), 60345); series1.add(new Day(13, MonthConstants.FEBRUARY, 2002), 67339); series1.add(new Day(14, MonthConstants.FEBRUARY, 2002), 40057); series1.add(new Day(15, MonthConstants.FEBRUARY, 2002), 67865); series1.add(new Day(19, MonthConstants.FEBRUARY, 2002), 58628); series1.add(new Day(20, MonthConstants.FEBRUARY, 2002), 52109); series1.add(new Day(21, MonthConstants.FEBRUARY, 2002), 50195); series1.add(new Day(22, MonthConstants.FEBRUARY, 2002), 47806); series1.add(new Day(25, MonthConstants.FEBRUARY, 2002), 31711); series1.add(new Day(26, MonthConstants.FEBRUARY, 2002), 88328); series1.add(new Day(27, MonthConstants.FEBRUARY, 2002), 95805); series1.add(new Day(28, MonthConstants.FEBRUARY, 2002), 84035); series1.add(new Day(1, MonthConstants.MARCH, 2002), 113584); series1.add(new Day(4, MonthConstants.MARCH, 2002), 71872); series1.add(new Day(5, MonthConstants.MARCH, 2002), 83016); series1.add(new Day(6, MonthConstants.MARCH, 2002), 62273); series1.add(new Day(7, MonthConstants.MARCH, 2002), 138508); series1.add(new Day(8, MonthConstants.MARCH, 2002), 139428); series1.add(new Day(11, MonthConstants.MARCH, 2002), 80232); series1.add(new Day(12, MonthConstants.MARCH, 2002), 75693); series1.add(new Day(13, MonthConstants.MARCH, 2002), 104068); series1.add(new Day(14, MonthConstants.MARCH, 2002), 72171); series1.add(new Day(15, MonthConstants.MARCH, 2002), 117262); series1.add(new Day(18, MonthConstants.MARCH, 2002), 66048); series1.add(new Day(19, MonthConstants.MARCH, 2002), 87079); series1.add(new Day(20, MonthConstants.MARCH, 2002), 116084); series1.add(new Day(21, MonthConstants.MARCH, 2002), 113206); series1.add(new Day(22, MonthConstants.MARCH, 2002), 68326); series1.add(new Day(25, MonthConstants.MARCH, 2002), 34340); series1.add(new Day(26, MonthConstants.MARCH, 2002), 104413); series1.add(new Day(27, MonthConstants.MARCH, 2002), 57277); series1.add(new Day(28, MonthConstants.MARCH, 2002), 69936); series1.add(new Day(1, MonthConstants.APRIL, 2002), 57282); series1.add(new Day(2, MonthConstants.APRIL, 2002), 74686); series1.add(new Day(3, MonthConstants.APRIL, 2002), 108601); series1.add(new Day(4, MonthConstants.APRIL, 2002), 123381); series1.add(new Day(5, MonthConstants.APRIL, 2002), 106691); series1.add(new Day(8, MonthConstants.APRIL, 2002), 118535); series1.add(new Day(9, MonthConstants.APRIL, 2002), 85577); series1.add(new Day(10, MonthConstants.APRIL, 2002), 75441); series1.add(new Day(11, MonthConstants.APRIL, 2002), 88845); series1.add(new Day(12, MonthConstants.APRIL, 2002), 137141); series1.add(new Day(15, MonthConstants.APRIL, 2002), 72518); series1.add(new Day(16, MonthConstants.APRIL, 2002), 122100); series1.add(new Day(17, MonthConstants.APRIL, 2002), 136419); series1.add(new Day(18, MonthConstants.APRIL, 2002), 141338); series1.add(new Day(19, MonthConstants.APRIL, 2002), 80274); series1.add(new Day(22, MonthConstants.APRIL, 2002), 40449); series1.add(new Day(23, MonthConstants.APRIL, 2002), 72292); series1.add(new Day(24, MonthConstants.APRIL, 2002), 110644); series1.add(new Day(25, MonthConstants.APRIL, 2002), 145142); series1.add(new Day(26, MonthConstants.APRIL, 2002), 139573); series1.add(new Day(29, MonthConstants.APRIL, 2002), 51509); series1.add(new Day(30, MonthConstants.APRIL, 2002), 105782); series1.add(new Day(1, MonthConstants.MAY, 2002), 170680); series1.add(new Day(2, MonthConstants.MAY, 2002), 140800); series1.add(new Day(3, MonthConstants.MAY, 2002), 170411); series1.add(new Day(6, MonthConstants.MAY, 2002), 46172); series1.add(new Day(7, MonthConstants.MAY, 2002), 137251); series1.add(new Day(8, MonthConstants.MAY, 2002), 220626); series1.add(new Day(9, MonthConstants.MAY, 2002), 175902); series1.add(new Day(10, MonthConstants.MAY, 2002), 128807); series1.add(new Day(13, MonthConstants.MAY, 2002), 78208); series1.add(new Day(14, MonthConstants.MAY, 2002), 212048); series1.add(new Day(15, MonthConstants.MAY, 2002), 145643); series1.add(new Day(16, MonthConstants.MAY, 2002), 121520); series1.add(new Day(17, MonthConstants.MAY, 2002), 147820); series1.add(new Day(20, MonthConstants.MAY, 2002), 75969); series1.add(new Day(21, MonthConstants.MAY, 2002), 118970); series1.add(new Day(22, MonthConstants.MAY, 2002), 131013); series1.add(new Day(23, MonthConstants.MAY, 2002), 141100); series1.add(new Day(24, MonthConstants.MAY, 2002), 63606); series1.add(new Day(28, MonthConstants.MAY, 2002), 78687); series1.add(new Day(29, MonthConstants.MAY, 2002), 86743); series1.add(new Day(30, MonthConstants.MAY, 2002), 164376); series1.add(new Day(31, MonthConstants.MAY, 2002), 150108); series1.add(new Day(3, MonthConstants.JUNE, 2002), 132363); series1.add(new Day(4, MonthConstants.JUNE, 2002), 144902); series1.add(new Day(5, MonthConstants.JUNE, 2002), 123834); series1.add(new Day(6, MonthConstants.JUNE, 2002), 125004); series1.add(new Day(7, MonthConstants.JUNE, 2002), 165049); series1.add(new Day(10, MonthConstants.JUNE, 2002), 88069); series1.add(new Day(11, MonthConstants.JUNE, 2002), 114146); series1.add(new Day(12, MonthConstants.JUNE, 2002), 149992); series1.add(new Day(13, MonthConstants.JUNE, 2002), 191261); series1.add(new Day(14, MonthConstants.JUNE, 2002), 207444); series1.add(new Day(17, MonthConstants.JUNE, 2002), 117081); series1.add(new Day(18, MonthConstants.JUNE, 2002), 135924); series1.add(new Day(19, MonthConstants.JUNE, 2002), 179654); series1.add(new Day(20, MonthConstants.JUNE, 2002), 260936); series1.add(new Day(21, MonthConstants.JUNE, 2002), 140283); series1.add(new Day(24, MonthConstants.JUNE, 2002), 199052); series1.add(new Day(25, MonthConstants.JUNE, 2002), 191804); series1.add(new Day(26, MonthConstants.JUNE, 2002), 384936); series1.add(new Day(27, MonthConstants.JUNE, 2002), 313065); series1.add(new Day(28, MonthConstants.JUNE, 2002), 169963); series1.add(new Day(1, MonthConstants.JULY, 2002), 109906); series1.add(new Day(2, MonthConstants.JULY, 2002), 140644); series1.add(new Day(3, MonthConstants.JULY, 2002), 150898); series1.add(new Day(5, MonthConstants.JULY, 2002), 181355); series1.add(new Day(8, MonthConstants.JULY, 2002), 155042); series1.add(new Day(9, MonthConstants.JULY, 2002), 204305); series1.add(new Day(10, MonthConstants.JULY, 2002), 300113); series1.add(new Day(11, MonthConstants.JULY, 2002), 338948); series1.add(new Day(12, MonthConstants.JULY, 2002), 281325); series1.add(new Day(15, MonthConstants.JULY, 2002), 256101); series1.add(new Day(16, MonthConstants.JULY, 2002), 348164); series1.add(new Day(17, MonthConstants.JULY, 2002), 242995); series1.add(new Day(18, MonthConstants.JULY, 2002), 200744); series1.add(new Day(19, MonthConstants.JULY, 2002), 181071); series1.add(new Day(22, MonthConstants.JULY, 2002), 163266); series1.add(new Day(23, MonthConstants.JULY, 2002), 188508); series1.add(new Day(24, MonthConstants.JULY, 2002), 308070); series1.add(new Day(25, MonthConstants.JULY, 2002), 230901); series1.add(new Day(26, MonthConstants.JULY, 2002), 162577); series1.add(new Day(29, MonthConstants.JULY, 2002), 216318); series1.add(new Day(30, MonthConstants.JULY, 2002), 280677); series1.add(new Day(31, MonthConstants.JULY, 2002), 260236); series1.add(new Day(1, MonthConstants.AUGUST, 2002), 242803); series1.add(new Day(2, MonthConstants.AUGUST, 2002), 298490); series1.add(new Day(5, MonthConstants.AUGUST, 2002), 182890); series1.add(new Day(6, MonthConstants.AUGUST, 2002), 232273); series1.add(new Day(7, MonthConstants.AUGUST, 2002), 253552); series1.add(new Day(8, MonthConstants.AUGUST, 2002), 165365); series1.add(new Day(9, MonthConstants.AUGUST, 2002), 160382); series1.add(new Day(12, MonthConstants.AUGUST, 2002), 118030); series1.add(new Day(13, MonthConstants.AUGUST, 2002), 208807); series1.add(new Day(14, MonthConstants.AUGUST, 2002), 231599); series1.add(new Day(15, MonthConstants.AUGUST, 2002), 343482); series1.add(new Day(16, MonthConstants.AUGUST, 2002), 186116); series1.add(new Day(19, MonthConstants.AUGUST, 2002), 96437); series1.add(new Day(20, MonthConstants.AUGUST, 2002), 151735); series1.add(new Day(21, MonthConstants.AUGUST, 2002), 167390); series1.add(new Day(22, MonthConstants.AUGUST, 2002), 127184); series1.add(new Day(23, MonthConstants.AUGUST, 2002), 80205); series1.add(new Day(26, MonthConstants.AUGUST, 2002), 79893); series1.add(new Day(27, MonthConstants.AUGUST, 2002), 201723); series1.add(new Day(28, MonthConstants.AUGUST, 2002), 114001); series1.add(new Day(29, MonthConstants.AUGUST, 2002), 188389); series1.add(new Day(30, MonthConstants.AUGUST, 2002), 162801); series1.add(new Day(3, MonthConstants.SEPTEMBER, 2002), 200951); series1.add(new Day(4, MonthConstants.SEPTEMBER, 2002), 129229); series1.add(new Day(5, MonthConstants.SEPTEMBER, 2002), 183348); series1.add(new Day(6, MonthConstants.SEPTEMBER, 2002), 216722); series1.add(new Day(9, MonthConstants.SEPTEMBER, 2002), 128575); series1.add(new Day(10, MonthConstants.SEPTEMBER, 2002), 224714); series1.add(new Day(11, MonthConstants.SEPTEMBER, 2002), 144224); series1.add(new Day(12, MonthConstants.SEPTEMBER, 2002), 195721); series1.add(new Day(13, MonthConstants.SEPTEMBER, 2002), 160724); series1.add(new Day(16, MonthConstants.SEPTEMBER, 2002), 65473); series1.add(new Day(17, MonthConstants.SEPTEMBER, 2002), 141274); series1.add(new Day(18, MonthConstants.SEPTEMBER, 2002), 115084); series1.add(new Day(19, MonthConstants.SEPTEMBER, 2002), 242106); series1.add(new Day(20, MonthConstants.SEPTEMBER, 2002), 130034); series1.add(new Day(23, MonthConstants.SEPTEMBER, 2002), 95215); series1.add(new Day(24, MonthConstants.SEPTEMBER, 2002), 229288); series1.add(new Day(25, MonthConstants.SEPTEMBER, 2002), 163672); series1.add(new Day(26, MonthConstants.SEPTEMBER, 2002), 193573); series1.add(new Day(27, MonthConstants.SEPTEMBER, 2002), 170741); series1.add(new Day(30, MonthConstants.SEPTEMBER, 2002), 199615); series1.add(new Day(1, MonthConstants.OCTOBER, 2002), 170771); series1.add(new Day(2, MonthConstants.OCTOBER, 2002), 138498); series1.add(new Day(3, MonthConstants.OCTOBER, 2002), 154774); series1.add(new Day(4, MonthConstants.OCTOBER, 2002), 287154); series1.add(new Day(7, MonthConstants.OCTOBER, 2002), 111762); series1.add(new Day(8, MonthConstants.OCTOBER, 2002), 172535); series1.add(new Day(9, MonthConstants.OCTOBER, 2002), 148339); series1.add(new Day(10, MonthConstants.OCTOBER, 2002), 178796); series1.add(new Day(11, MonthConstants.OCTOBER, 2002), 153499); series1.add(new Day(14, MonthConstants.OCTOBER, 2002), 4589); series1.add(new Day(15, MonthConstants.OCTOBER, 2002), 172088); series1.add(new Day(16, MonthConstants.OCTOBER, 2002), 151267); series1.add(new Day(17, MonthConstants.OCTOBER, 2002), 222680); series1.add(new Day(18, MonthConstants.OCTOBER, 2002), 127019); series1.add(new Day(21, MonthConstants.OCTOBER, 2002), 118226); series1.add(new Day(22, MonthConstants.OCTOBER, 2002), 183031); series1.add(new Day(23, MonthConstants.OCTOBER, 2002), 221005); series1.add(new Day(24, MonthConstants.OCTOBER, 2002), 121333); series1.add(new Day(25, MonthConstants.OCTOBER, 2002), 138179); series1.add(new Day(28, MonthConstants.OCTOBER, 2002), 162012); series1.add(new Day(29, MonthConstants.OCTOBER, 2002), 237355); series1.add(new Day(30, MonthConstants.OCTOBER, 2002), 161650); series1.add(new Day(31, MonthConstants.OCTOBER, 2002), 207569); return new TimeSeriesCollection(series1); }
From source file:com.jonas.testing.jfreechart.demos.DemoDatasetFactory.java
/** * Returns a time series of the daily EUR/GBP exchange rates in 2001 (to date), for use in * the JFreeChart demonstration application. * <P>/*from w ww.j a va2s .c o m*/ * You wouldn't normally create a time series in this way. Typically, values would * be read from a database. * * @return a time series. * */ public static TimeSeries createEURTimeSeries() { final TimeSeries t1 = new TimeSeries("EUR/GBP"); try { t1.add(new Day(2, MonthConstants.JANUARY, 2001), new Double(1.5788)); t1.add(new Day(3, MonthConstants.JANUARY, 2001), new Double(1.5913)); t1.add(new Day(4, MonthConstants.JANUARY, 2001), new Double(1.5807)); t1.add(new Day(5, MonthConstants.JANUARY, 2001), new Double(1.5711)); t1.add(new Day(8, MonthConstants.JANUARY, 2001), new Double(1.5778)); t1.add(new Day(9, MonthConstants.JANUARY, 2001), new Double(1.5851)); t1.add(new Day(10, MonthConstants.JANUARY, 2001), new Double(1.5846)); t1.add(new Day(11, MonthConstants.JANUARY, 2001), new Double(1.5727)); t1.add(new Day(12, MonthConstants.JANUARY, 2001), new Double(1.5585)); t1.add(new Day(15, MonthConstants.JANUARY, 2001), new Double(1.5694)); t1.add(new Day(16, MonthConstants.JANUARY, 2001), new Double(1.5629)); t1.add(new Day(17, MonthConstants.JANUARY, 2001), new Double(1.5831)); t1.add(new Day(18, MonthConstants.JANUARY, 2001), new Double(1.5624)); t1.add(new Day(19, MonthConstants.JANUARY, 2001), new Double(1.5694)); t1.add(new Day(22, MonthConstants.JANUARY, 2001), new Double(1.5615)); t1.add(new Day(23, MonthConstants.JANUARY, 2001), new Double(1.5656)); t1.add(new Day(24, MonthConstants.JANUARY, 2001), new Double(1.5795)); t1.add(new Day(25, MonthConstants.JANUARY, 2001), new Double(1.5852)); t1.add(new Day(26, MonthConstants.JANUARY, 2001), new Double(1.5797)); t1.add(new Day(29, MonthConstants.JANUARY, 2001), new Double(1.5862)); t1.add(new Day(30, MonthConstants.JANUARY, 2001), new Double(1.5803)); t1.add(new Day(31, MonthConstants.JANUARY, 2001), new Double(1.5714)); t1.add(new Day(1, MonthConstants.FEBRUARY, 2001), new Double(1.5717)); t1.add(new Day(2, MonthConstants.FEBRUARY, 2001), new Double(1.5735)); t1.add(new Day(5, MonthConstants.FEBRUARY, 2001), new Double(1.5691)); t1.add(new Day(6, MonthConstants.FEBRUARY, 2001), new Double(1.5676)); t1.add(new Day(7, MonthConstants.FEBRUARY, 2001), new Double(1.5677)); t1.add(new Day(8, MonthConstants.FEBRUARY, 2001), new Double(1.5737)); t1.add(new Day(9, MonthConstants.FEBRUARY, 2001), new Double(1.5654)); t1.add(new Day(12, MonthConstants.FEBRUARY, 2001), new Double(1.5621)); t1.add(new Day(13, MonthConstants.FEBRUARY, 2001), new Double(1.5761)); t1.add(new Day(14, MonthConstants.FEBRUARY, 2001), new Double(1.5898)); t1.add(new Day(15, MonthConstants.FEBRUARY, 2001), new Double(1.6045)); t1.add(new Day(16, MonthConstants.FEBRUARY, 2001), new Double(1.5852)); t1.add(new Day(19, MonthConstants.FEBRUARY, 2001), new Double(1.5704)); t1.add(new Day(20, MonthConstants.FEBRUARY, 2001), new Double(1.5892)); t1.add(new Day(21, MonthConstants.FEBRUARY, 2001), new Double(1.5844)); t1.add(new Day(22, MonthConstants.FEBRUARY, 2001), new Double(1.5934)); t1.add(new Day(23, MonthConstants.FEBRUARY, 2001), new Double(1.5951)); t1.add(new Day(26, MonthConstants.FEBRUARY, 2001), new Double(1.5848)); t1.add(new Day(27, MonthConstants.FEBRUARY, 2001), new Double(1.5706)); t1.add(new Day(28, MonthConstants.FEBRUARY, 2001), new Double(1.5680)); t1.add(new Day(1, MonthConstants.MARCH, 2001), new Double(1.5645)); t1.add(new Day(2, MonthConstants.MARCH, 2001), new Double(1.5754)); t1.add(new Day(5, MonthConstants.MARCH, 2001), new Double(1.5808)); t1.add(new Day(6, MonthConstants.MARCH, 2001), new Double(1.5766)); t1.add(new Day(7, MonthConstants.MARCH, 2001), new Double(1.5756)); t1.add(new Day(8, MonthConstants.MARCH, 2001), new Double(1.5760)); t1.add(new Day(9, MonthConstants.MARCH, 2001), new Double(1.5748)); t1.add(new Day(12, MonthConstants.MARCH, 2001), new Double(1.5779)); t1.add(new Day(13, MonthConstants.MARCH, 2001), new Double(1.5837)); t1.add(new Day(14, MonthConstants.MARCH, 2001), new Double(1.5886)); t1.add(new Day(15, MonthConstants.MARCH, 2001), new Double(1.5931)); t1.add(new Day(16, MonthConstants.MARCH, 2001), new Double(1.5945)); t1.add(new Day(19, MonthConstants.MARCH, 2001), new Double(1.5880)); t1.add(new Day(20, MonthConstants.MARCH, 2001), new Double(1.5817)); t1.add(new Day(21, MonthConstants.MARCH, 2001), new Double(1.5927)); t1.add(new Day(22, MonthConstants.MARCH, 2001), new Double(1.6065)); t1.add(new Day(23, MonthConstants.MARCH, 2001), new Double(1.6006)); t1.add(new Day(26, MonthConstants.MARCH, 2001), new Double(1.6007)); t1.add(new Day(27, MonthConstants.MARCH, 2001), new Double(1.5989)); t1.add(new Day(28, MonthConstants.MARCH, 2001), new Double(1.6135)); t1.add(new Day(29, MonthConstants.MARCH, 2001), new Double(1.6282)); t1.add(new Day(30, MonthConstants.MARCH, 2001), new Double(1.6090)); t1.add(new Day(2, MonthConstants.APRIL, 2001), new Double(1.6107)); t1.add(new Day(3, MonthConstants.APRIL, 2001), new Double(1.6093)); t1.add(new Day(4, MonthConstants.APRIL, 2001), new Double(1.5880)); t1.add(new Day(5, MonthConstants.APRIL, 2001), new Double(1.5931)); t1.add(new Day(6, MonthConstants.APRIL, 2001), new Double(1.5968)); t1.add(new Day(9, MonthConstants.APRIL, 2001), new Double(1.6072)); t1.add(new Day(10, MonthConstants.APRIL, 2001), new Double(1.6167)); t1.add(new Day(11, MonthConstants.APRIL, 2001), new Double(1.6214)); t1.add(new Day(12, MonthConstants.APRIL, 2001), new Double(1.6120)); t1.add(new Day(17, MonthConstants.APRIL, 2001), new Double(1.6229)); t1.add(new Day(18, MonthConstants.APRIL, 2001), new Double(1.6298)); t1.add(new Day(19, MonthConstants.APRIL, 2001), new Double(1.6159)); t1.add(new Day(20, MonthConstants.APRIL, 2001), new Double(1.5996)); t1.add(new Day(23, MonthConstants.APRIL, 2001), new Double(1.6042)); t1.add(new Day(24, MonthConstants.APRIL, 2001), new Double(1.6061)); t1.add(new Day(25, MonthConstants.APRIL, 2001), new Double(1.6045)); t1.add(new Day(26, MonthConstants.APRIL, 2001), new Double(1.5970)); t1.add(new Day(27, MonthConstants.APRIL, 2001), new Double(1.6095)); t1.add(new Day(30, MonthConstants.APRIL, 2001), new Double(1.6141)); t1.add(new Day(1, MonthConstants.MAY, 2001), new Double(1.6076)); t1.add(new Day(2, MonthConstants.MAY, 2001), new Double(1.6077)); t1.add(new Day(3, MonthConstants.MAY, 2001), new Double(1.6035)); t1.add(new Day(4, MonthConstants.MAY, 2001), new Double(1.6060)); t1.add(new Day(8, MonthConstants.MAY, 2001), new Double(1.6178)); t1.add(new Day(9, MonthConstants.MAY, 2001), new Double(1.6083)); t1.add(new Day(10, MonthConstants.MAY, 2001), new Double(1.6107)); t1.add(new Day(11, MonthConstants.MAY, 2001), new Double(1.6209)); t1.add(new Day(14, MonthConstants.MAY, 2001), new Double(1.6228)); t1.add(new Day(15, MonthConstants.MAY, 2001), new Double(1.6184)); t1.add(new Day(16, MonthConstants.MAY, 2001), new Double(1.6167)); t1.add(new Day(17, MonthConstants.MAY, 2001), new Double(1.6223)); t1.add(new Day(18, MonthConstants.MAY, 2001), new Double(1.6305)); t1.add(new Day(21, MonthConstants.MAY, 2001), new Double(1.6420)); t1.add(new Day(22, MonthConstants.MAY, 2001), new Double(1.6484)); t1.add(new Day(23, MonthConstants.MAY, 2001), new Double(1.6547)); t1.add(new Day(24, MonthConstants.MAY, 2001), new Double(1.6444)); t1.add(new Day(25, MonthConstants.MAY, 2001), new Double(1.6577)); t1.add(new Day(29, MonthConstants.MAY, 2001), new Double(1.6606)); t1.add(new Day(30, MonthConstants.MAY, 2001), new Double(1.6604)); t1.add(new Day(31, MonthConstants.MAY, 2001), new Double(1.6772)); t1.add(new Day(1, MonthConstants.JUNE, 2001), new Double(1.6717)); t1.add(new Day(4, MonthConstants.JUNE, 2001), new Double(1.6685)); t1.add(new Day(5, MonthConstants.JUNE, 2001), new Double(1.6621)); t1.add(new Day(6, MonthConstants.JUNE, 2001), new Double(1.6460)); t1.add(new Day(7, MonthConstants.JUNE, 2001), new Double(1.6333)); t1.add(new Day(8, MonthConstants.JUNE, 2001), new Double(1.6265)); t1.add(new Day(11, MonthConstants.JUNE, 2001), new Double(1.6311)); t1.add(new Day(12, MonthConstants.JUNE, 2001), new Double(1.6238)); t1.add(new Day(13, MonthConstants.JUNE, 2001), new Double(1.6300)); t1.add(new Day(14, MonthConstants.JUNE, 2001), new Double(1.6289)); t1.add(new Day(15, MonthConstants.JUNE, 2001), new Double(1.6276)); t1.add(new Day(18, MonthConstants.JUNE, 2001), new Double(1.6299)); t1.add(new Day(19, MonthConstants.JUNE, 2001), new Double(1.6353)); t1.add(new Day(20, MonthConstants.JUNE, 2001), new Double(1.6378)); t1.add(new Day(21, MonthConstants.JUNE, 2001), new Double(1.6567)); t1.add(new Day(22, MonthConstants.JUNE, 2001), new Double(1.6523)); t1.add(new Day(25, MonthConstants.JUNE, 2001), new Double(1.6418)); t1.add(new Day(26, MonthConstants.JUNE, 2001), new Double(1.6429)); t1.add(new Day(27, MonthConstants.JUNE, 2001), new Double(1.6439)); t1.add(new Day(28, MonthConstants.JUNE, 2001), new Double(1.6605)); t1.add(new Day(29, MonthConstants.JUNE, 2001), new Double(1.6599)); t1.add(new Day(2, MonthConstants.JULY, 2001), new Double(1.6727)); t1.add(new Day(3, MonthConstants.JULY, 2001), new Double(1.6620)); t1.add(new Day(4, MonthConstants.JULY, 2001), new Double(1.6628)); t1.add(new Day(5, MonthConstants.JULY, 2001), new Double(1.6730)); t1.add(new Day(6, MonthConstants.JULY, 2001), new Double(1.6649)); t1.add(new Day(9, MonthConstants.JULY, 2001), new Double(1.6603)); t1.add(new Day(10, MonthConstants.JULY, 2001), new Double(1.6489)); t1.add(new Day(11, MonthConstants.JULY, 2001), new Double(1.6421)); t1.add(new Day(12, MonthConstants.JULY, 2001), new Double(1.6498)); t1.add(new Day(13, MonthConstants.JULY, 2001), new Double(1.6447)); t1.add(new Day(16, MonthConstants.JULY, 2001), new Double(1.6373)); t1.add(new Day(17, MonthConstants.JULY, 2001), new Double(1.6443)); t1.add(new Day(18, MonthConstants.JULY, 2001), new Double(1.6246)); t1.add(new Day(19, MonthConstants.JULY, 2001), new Double(1.6295)); t1.add(new Day(20, MonthConstants.JULY, 2001), new Double(1.6362)); t1.add(new Day(23, MonthConstants.JULY, 2001), new Double(1.6348)); t1.add(new Day(24, MonthConstants.JULY, 2001), new Double(1.6242)); t1.add(new Day(25, MonthConstants.JULY, 2001), new Double(1.6241)); t1.add(new Day(26, MonthConstants.JULY, 2001), new Double(1.6281)); t1.add(new Day(27, MonthConstants.JULY, 2001), new Double(1.6296)); t1.add(new Day(30, MonthConstants.JULY, 2001), new Double(1.6279)); t1.add(new Day(31, MonthConstants.JULY, 2001), new Double(1.6300)); t1.add(new Day(1, MonthConstants.AUGUST, 2001), new Double(1.6290)); t1.add(new Day(2, MonthConstants.AUGUST, 2001), new Double(1.6237)); t1.add(new Day(3, MonthConstants.AUGUST, 2001), new Double(1.6138)); t1.add(new Day(6, MonthConstants.AUGUST, 2001), new Double(1.6121)); t1.add(new Day(7, MonthConstants.AUGUST, 2001), new Double(1.6170)); t1.add(new Day(8, MonthConstants.AUGUST, 2001), new Double(1.6135)); t1.add(new Day(9, MonthConstants.AUGUST, 2001), new Double(1.5996)); t1.add(new Day(10, MonthConstants.AUGUST, 2001), new Double(1.5931)); t1.add(new Day(13, MonthConstants.AUGUST, 2001), new Double(1.5828)); t1.add(new Day(14, MonthConstants.AUGUST, 2001), new Double(1.5824)); t1.add(new Day(15, MonthConstants.AUGUST, 2001), new Double(1.5783)); t1.add(new Day(16, MonthConstants.AUGUST, 2001), new Double(1.5810)); t1.add(new Day(17, MonthConstants.AUGUST, 2001), new Double(1.5761)); t1.add(new Day(20, MonthConstants.AUGUST, 2001), new Double(1.5831)); t1.add(new Day(21, MonthConstants.AUGUST, 2001), new Double(1.5870)); t1.add(new Day(22, MonthConstants.AUGUST, 2001), new Double(1.5808)); t1.add(new Day(23, MonthConstants.AUGUST, 2001), new Double(1.5845)); t1.add(new Day(24, MonthConstants.AUGUST, 2001), new Double(1.5844)); t1.add(new Day(28, MonthConstants.AUGUST, 2001), new Double(1.5924)); t1.add(new Day(29, MonthConstants.AUGUST, 2001), new Double(1.5950)); t1.add(new Day(30, MonthConstants.AUGUST, 2001), new Double(1.5941)); t1.add(new Day(31, MonthConstants.AUGUST, 2001), new Double(1.5968)); t1.add(new Day(3, MonthConstants.SEPTEMBER, 2001), new Double(1.6020)); t1.add(new Day(4, MonthConstants.SEPTEMBER, 2001), new Double(1.6236)); t1.add(new Day(5, MonthConstants.SEPTEMBER, 2001), new Double(1.6352)); t1.add(new Day(6, MonthConstants.SEPTEMBER, 2001), new Double(1.6302)); t1.add(new Day(7, MonthConstants.SEPTEMBER, 2001), new Double(1.6180)); t1.add(new Day(10, MonthConstants.SEPTEMBER, 2001), new Double(1.6218)); t1.add(new Day(11, MonthConstants.SEPTEMBER, 2001), new Double(1.6182)); t1.add(new Day(12, MonthConstants.SEPTEMBER, 2001), new Double(1.6157)); t1.add(new Day(13, MonthConstants.SEPTEMBER, 2001), new Double(1.6171)); t1.add(new Day(14, MonthConstants.SEPTEMBER, 2001), new Double(1.5960)); t1.add(new Day(17, MonthConstants.SEPTEMBER, 2001), new Double(1.5952)); t1.add(new Day(18, MonthConstants.SEPTEMBER, 2001), new Double(1.5863)); t1.add(new Day(19, MonthConstants.SEPTEMBER, 2001), new Double(1.5790)); t1.add(new Day(20, MonthConstants.SEPTEMBER, 2001), new Double(1.5811)); t1.add(new Day(21, MonthConstants.SEPTEMBER, 2001), new Double(1.5917)); t1.add(new Day(24, MonthConstants.SEPTEMBER, 2001), new Double(1.6005)); t1.add(new Day(25, MonthConstants.SEPTEMBER, 2001), new Double(1.5915)); t1.add(new Day(26, MonthConstants.SEPTEMBER, 2001), new Double(1.6012)); t1.add(new Day(27, MonthConstants.SEPTEMBER, 2001), new Double(1.6032)); t1.add(new Day(28, MonthConstants.SEPTEMBER, 2001), new Double(1.6133)); t1.add(new Day(1, MonthConstants.OCTOBER, 2001), new Double(1.6147)); t1.add(new Day(2, MonthConstants.OCTOBER, 2001), new Double(1.6002)); t1.add(new Day(3, MonthConstants.OCTOBER, 2001), new Double(1.6041)); t1.add(new Day(4, MonthConstants.OCTOBER, 2001), new Double(1.6172)); t1.add(new Day(5, MonthConstants.OCTOBER, 2001), new Double(1.6121)); t1.add(new Day(8, MonthConstants.OCTOBER, 2001), new Double(1.6044)); t1.add(new Day(9, MonthConstants.OCTOBER, 2001), new Double(1.5974)); t1.add(new Day(10, MonthConstants.OCTOBER, 2001), new Double(1.5915)); t1.add(new Day(11, MonthConstants.OCTOBER, 2001), new Double(1.6022)); t1.add(new Day(12, MonthConstants.OCTOBER, 2001), new Double(1.6014)); t1.add(new Day(15, MonthConstants.OCTOBER, 2001), new Double(1.5942)); t1.add(new Day(16, MonthConstants.OCTOBER, 2001), new Double(1.5925)); t1.add(new Day(17, MonthConstants.OCTOBER, 2001), new Double(1.6007)); t1.add(new Day(18, MonthConstants.OCTOBER, 2001), new Double(1.6000)); t1.add(new Day(19, MonthConstants.OCTOBER, 2001), new Double(1.6030)); t1.add(new Day(22, MonthConstants.OCTOBER, 2001), new Double(1.6014)); t1.add(new Day(23, MonthConstants.OCTOBER, 2001), new Double(1.5995)); t1.add(new Day(24, MonthConstants.OCTOBER, 2001), new Double(1.5951)); t1.add(new Day(25, MonthConstants.OCTOBER, 2001), new Double(1.5953)); t1.add(new Day(26, MonthConstants.OCTOBER, 2001), new Double(1.6057)); t1.add(new Day(29, MonthConstants.OCTOBER, 2001), new Double(1.6051)); t1.add(new Day(30, MonthConstants.OCTOBER, 2001), new Double(1.6027)); t1.add(new Day(31, MonthConstants.OCTOBER, 2001), new Double(1.6144)); t1.add(new Day(1, MonthConstants.NOVEMBER, 2001), new Double(1.6139)); t1.add(new Day(2, MonthConstants.NOVEMBER, 2001), new Double(1.6189)); t1.add(new Day(5, MonthConstants.NOVEMBER, 2001), new Double(1.6248)); t1.add(new Day(6, MonthConstants.NOVEMBER, 2001), new Double(1.6267)); t1.add(new Day(7, MonthConstants.NOVEMBER, 2001), new Double(1.6281)); t1.add(new Day(8, MonthConstants.NOVEMBER, 2001), new Double(1.6310)); t1.add(new Day(9, MonthConstants.NOVEMBER, 2001), new Double(1.6313)); t1.add(new Day(12, MonthConstants.NOVEMBER, 2001), new Double(1.6272)); t1.add(new Day(13, MonthConstants.NOVEMBER, 2001), new Double(1.6361)); t1.add(new Day(14, MonthConstants.NOVEMBER, 2001), new Double(1.6323)); t1.add(new Day(15, MonthConstants.NOVEMBER, 2001), new Double(1.6252)); t1.add(new Day(16, MonthConstants.NOVEMBER, 2001), new Double(1.6141)); t1.add(new Day(19, MonthConstants.NOVEMBER, 2001), new Double(1.6086)); t1.add(new Day(20, MonthConstants.NOVEMBER, 2001), new Double(1.6055)); t1.add(new Day(21, MonthConstants.NOVEMBER, 2001), new Double(1.6132)); t1.add(new Day(22, MonthConstants.NOVEMBER, 2001), new Double(1.6074)); t1.add(new Day(23, MonthConstants.NOVEMBER, 2001), new Double(1.6065)); t1.add(new Day(26, MonthConstants.NOVEMBER, 2001), new Double(1.6061)); t1.add(new Day(27, MonthConstants.NOVEMBER, 2001), new Double(1.6039)); t1.add(new Day(28, MonthConstants.NOVEMBER, 2001), new Double(1.6069)); t1.add(new Day(29, MonthConstants.NOVEMBER, 2001), new Double(1.6044)); t1.add(new Day(30, MonthConstants.NOVEMBER, 2001), new Double(1.5928)); } catch (Exception e) { System.err.println(e.getMessage()); } return t1; }
From source file:gui.DemoDatasetFactory.java
/** * Returns a time series of the daily EUR/GBP exchange rates in 2001 (to date), for use in * the JFreeChart demonstration application. * <P>/*from w ww . j a va 2s . c o m*/ * You wouldn't normally create a time series in this way. Typically, values would * be read from a database. * * @return a time series. * */ public static TimeSeries createEURTimeSeries() { TimeSeries t1 = new TimeSeries("EUR/GBP"); try { t1.add(new Day(2, MonthConstants.JANUARY, 2001), new Double(1.5788)); t1.add(new Day(3, MonthConstants.JANUARY, 2001), new Double(1.5913)); t1.add(new Day(4, MonthConstants.JANUARY, 2001), new Double(1.5807)); t1.add(new Day(5, MonthConstants.JANUARY, 2001), new Double(1.5711)); t1.add(new Day(8, MonthConstants.JANUARY, 2001), new Double(1.5778)); t1.add(new Day(9, MonthConstants.JANUARY, 2001), new Double(1.5851)); t1.add(new Day(10, MonthConstants.JANUARY, 2001), new Double(1.5846)); t1.add(new Day(11, MonthConstants.JANUARY, 2001), new Double(1.5727)); t1.add(new Day(12, MonthConstants.JANUARY, 2001), new Double(1.5585)); t1.add(new Day(15, MonthConstants.JANUARY, 2001), new Double(1.5694)); t1.add(new Day(16, MonthConstants.JANUARY, 2001), new Double(1.5629)); t1.add(new Day(17, MonthConstants.JANUARY, 2001), new Double(1.5831)); t1.add(new Day(18, MonthConstants.JANUARY, 2001), new Double(1.5624)); t1.add(new Day(19, MonthConstants.JANUARY, 2001), new Double(1.5694)); t1.add(new Day(22, MonthConstants.JANUARY, 2001), new Double(1.5615)); t1.add(new Day(23, MonthConstants.JANUARY, 2001), new Double(1.5656)); t1.add(new Day(24, MonthConstants.JANUARY, 2001), new Double(1.5795)); t1.add(new Day(25, MonthConstants.JANUARY, 2001), new Double(1.5852)); t1.add(new Day(26, MonthConstants.JANUARY, 2001), new Double(1.5797)); t1.add(new Day(29, MonthConstants.JANUARY, 2001), new Double(1.5862)); t1.add(new Day(30, MonthConstants.JANUARY, 2001), new Double(1.5803)); t1.add(new Day(31, MonthConstants.JANUARY, 2001), new Double(1.5714)); t1.add(new Day(1, MonthConstants.FEBRUARY, 2001), new Double(1.5717)); t1.add(new Day(2, MonthConstants.FEBRUARY, 2001), new Double(1.5735)); t1.add(new Day(5, MonthConstants.FEBRUARY, 2001), new Double(1.5691)); t1.add(new Day(6, MonthConstants.FEBRUARY, 2001), new Double(1.5676)); t1.add(new Day(7, MonthConstants.FEBRUARY, 2001), new Double(1.5677)); t1.add(new Day(8, MonthConstants.FEBRUARY, 2001), new Double(1.5737)); t1.add(new Day(9, MonthConstants.FEBRUARY, 2001), new Double(1.5654)); t1.add(new Day(12, MonthConstants.FEBRUARY, 2001), new Double(1.5621)); t1.add(new Day(13, MonthConstants.FEBRUARY, 2001), new Double(1.5761)); t1.add(new Day(14, MonthConstants.FEBRUARY, 2001), new Double(1.5898)); t1.add(new Day(15, MonthConstants.FEBRUARY, 2001), new Double(1.6045)); t1.add(new Day(16, MonthConstants.FEBRUARY, 2001), new Double(1.5852)); t1.add(new Day(19, MonthConstants.FEBRUARY, 2001), new Double(1.5704)); t1.add(new Day(20, MonthConstants.FEBRUARY, 2001), new Double(1.5892)); t1.add(new Day(21, MonthConstants.FEBRUARY, 2001), new Double(1.5844)); t1.add(new Day(22, MonthConstants.FEBRUARY, 2001), new Double(1.5934)); t1.add(new Day(23, MonthConstants.FEBRUARY, 2001), new Double(1.5951)); t1.add(new Day(26, MonthConstants.FEBRUARY, 2001), new Double(1.5848)); t1.add(new Day(27, MonthConstants.FEBRUARY, 2001), new Double(1.5706)); t1.add(new Day(28, MonthConstants.FEBRUARY, 2001), new Double(1.5680)); t1.add(new Day(1, MonthConstants.MARCH, 2001), new Double(1.5645)); t1.add(new Day(2, MonthConstants.MARCH, 2001), new Double(1.5754)); t1.add(new Day(5, MonthConstants.MARCH, 2001), new Double(1.5808)); t1.add(new Day(6, MonthConstants.MARCH, 2001), new Double(1.5766)); t1.add(new Day(7, MonthConstants.MARCH, 2001), new Double(1.5756)); t1.add(new Day(8, MonthConstants.MARCH, 2001), new Double(1.5760)); t1.add(new Day(9, MonthConstants.MARCH, 2001), new Double(1.5748)); t1.add(new Day(12, MonthConstants.MARCH, 2001), new Double(1.5779)); t1.add(new Day(13, MonthConstants.MARCH, 2001), new Double(1.5837)); t1.add(new Day(14, MonthConstants.MARCH, 2001), new Double(1.5886)); t1.add(new Day(15, MonthConstants.MARCH, 2001), new Double(1.5931)); t1.add(new Day(16, MonthConstants.MARCH, 2001), new Double(1.5945)); t1.add(new Day(19, MonthConstants.MARCH, 2001), new Double(1.5880)); t1.add(new Day(20, MonthConstants.MARCH, 2001), new Double(1.5817)); t1.add(new Day(21, MonthConstants.MARCH, 2001), new Double(1.5927)); t1.add(new Day(22, MonthConstants.MARCH, 2001), new Double(1.6065)); t1.add(new Day(23, MonthConstants.MARCH, 2001), new Double(1.6006)); t1.add(new Day(26, MonthConstants.MARCH, 2001), new Double(1.6007)); t1.add(new Day(27, MonthConstants.MARCH, 2001), new Double(1.5989)); t1.add(new Day(28, MonthConstants.MARCH, 2001), new Double(1.6135)); t1.add(new Day(29, MonthConstants.MARCH, 2001), new Double(1.6282)); t1.add(new Day(30, MonthConstants.MARCH, 2001), new Double(1.6090)); t1.add(new Day(2, MonthConstants.APRIL, 2001), new Double(1.6107)); t1.add(new Day(3, MonthConstants.APRIL, 2001), new Double(1.6093)); t1.add(new Day(4, MonthConstants.APRIL, 2001), new Double(1.5880)); t1.add(new Day(5, MonthConstants.APRIL, 2001), new Double(1.5931)); t1.add(new Day(6, MonthConstants.APRIL, 2001), new Double(1.5968)); t1.add(new Day(9, MonthConstants.APRIL, 2001), new Double(1.6072)); t1.add(new Day(10, MonthConstants.APRIL, 2001), new Double(1.6167)); t1.add(new Day(11, MonthConstants.APRIL, 2001), new Double(1.6214)); t1.add(new Day(12, MonthConstants.APRIL, 2001), new Double(1.6120)); t1.add(new Day(17, MonthConstants.APRIL, 2001), new Double(1.6229)); t1.add(new Day(18, MonthConstants.APRIL, 2001), new Double(1.6298)); t1.add(new Day(19, MonthConstants.APRIL, 2001), new Double(1.6159)); t1.add(new Day(20, MonthConstants.APRIL, 2001), new Double(1.5996)); t1.add(new Day(23, MonthConstants.APRIL, 2001), new Double(1.6042)); t1.add(new Day(24, MonthConstants.APRIL, 2001), new Double(1.6061)); t1.add(new Day(25, MonthConstants.APRIL, 2001), new Double(1.6045)); t1.add(new Day(26, MonthConstants.APRIL, 2001), new Double(1.5970)); t1.add(new Day(27, MonthConstants.APRIL, 2001), new Double(1.6095)); t1.add(new Day(30, MonthConstants.APRIL, 2001), new Double(1.6141)); t1.add(new Day(1, MonthConstants.MAY, 2001), new Double(1.6076)); t1.add(new Day(2, MonthConstants.MAY, 2001), new Double(1.6077)); t1.add(new Day(3, MonthConstants.MAY, 2001), new Double(1.6035)); t1.add(new Day(4, MonthConstants.MAY, 2001), new Double(1.6060)); t1.add(new Day(8, MonthConstants.MAY, 2001), new Double(1.6178)); t1.add(new Day(9, MonthConstants.MAY, 2001), new Double(1.6083)); t1.add(new Day(10, MonthConstants.MAY, 2001), new Double(1.6107)); t1.add(new Day(11, MonthConstants.MAY, 2001), new Double(1.6209)); t1.add(new Day(14, MonthConstants.MAY, 2001), new Double(1.6228)); t1.add(new Day(15, MonthConstants.MAY, 2001), new Double(1.6184)); t1.add(new Day(16, MonthConstants.MAY, 2001), new Double(1.6167)); t1.add(new Day(17, MonthConstants.MAY, 2001), new Double(1.6223)); t1.add(new Day(18, MonthConstants.MAY, 2001), new Double(1.6305)); t1.add(new Day(21, MonthConstants.MAY, 2001), new Double(1.6420)); t1.add(new Day(22, MonthConstants.MAY, 2001), new Double(1.6484)); t1.add(new Day(23, MonthConstants.MAY, 2001), new Double(1.6547)); t1.add(new Day(24, MonthConstants.MAY, 2001), new Double(1.6444)); t1.add(new Day(25, MonthConstants.MAY, 2001), new Double(1.6577)); t1.add(new Day(29, MonthConstants.MAY, 2001), new Double(1.6606)); t1.add(new Day(30, MonthConstants.MAY, 2001), new Double(1.6604)); t1.add(new Day(31, MonthConstants.MAY, 2001), new Double(1.6772)); t1.add(new Day(1, MonthConstants.JUNE, 2001), new Double(1.6717)); t1.add(new Day(4, MonthConstants.JUNE, 2001), new Double(1.6685)); t1.add(new Day(5, MonthConstants.JUNE, 2001), new Double(1.6621)); t1.add(new Day(6, MonthConstants.JUNE, 2001), new Double(1.6460)); t1.add(new Day(7, MonthConstants.JUNE, 2001), new Double(1.6333)); t1.add(new Day(8, MonthConstants.JUNE, 2001), new Double(1.6265)); t1.add(new Day(11, MonthConstants.JUNE, 2001), new Double(1.6311)); t1.add(new Day(12, MonthConstants.JUNE, 2001), new Double(1.6238)); t1.add(new Day(13, MonthConstants.JUNE, 2001), new Double(1.6300)); t1.add(new Day(14, MonthConstants.JUNE, 2001), new Double(1.6289)); t1.add(new Day(15, MonthConstants.JUNE, 2001), new Double(1.6276)); t1.add(new Day(18, MonthConstants.JUNE, 2001), new Double(1.6299)); t1.add(new Day(19, MonthConstants.JUNE, 2001), new Double(1.6353)); t1.add(new Day(20, MonthConstants.JUNE, 2001), new Double(1.6378)); t1.add(new Day(21, MonthConstants.JUNE, 2001), new Double(1.6567)); t1.add(new Day(22, MonthConstants.JUNE, 2001), new Double(1.6523)); t1.add(new Day(25, MonthConstants.JUNE, 2001), new Double(1.6418)); t1.add(new Day(26, MonthConstants.JUNE, 2001), new Double(1.6429)); t1.add(new Day(27, MonthConstants.JUNE, 2001), new Double(1.6439)); t1.add(new Day(28, MonthConstants.JUNE, 2001), new Double(1.6605)); t1.add(new Day(29, MonthConstants.JUNE, 2001), new Double(1.6599)); t1.add(new Day(2, MonthConstants.JULY, 2001), new Double(1.6727)); t1.add(new Day(3, MonthConstants.JULY, 2001), new Double(1.6620)); t1.add(new Day(4, MonthConstants.JULY, 2001), new Double(1.6628)); t1.add(new Day(5, MonthConstants.JULY, 2001), new Double(1.6730)); t1.add(new Day(6, MonthConstants.JULY, 2001), new Double(1.6649)); t1.add(new Day(9, MonthConstants.JULY, 2001), new Double(1.6603)); t1.add(new Day(10, MonthConstants.JULY, 2001), new Double(1.6489)); t1.add(new Day(11, MonthConstants.JULY, 2001), new Double(1.6421)); t1.add(new Day(12, MonthConstants.JULY, 2001), new Double(1.6498)); t1.add(new Day(13, MonthConstants.JULY, 2001), new Double(1.6447)); t1.add(new Day(16, MonthConstants.JULY, 2001), new Double(1.6373)); t1.add(new Day(17, MonthConstants.JULY, 2001), new Double(1.6443)); t1.add(new Day(18, MonthConstants.JULY, 2001), new Double(1.6246)); t1.add(new Day(19, MonthConstants.JULY, 2001), new Double(1.6295)); t1.add(new Day(20, MonthConstants.JULY, 2001), new Double(1.6362)); t1.add(new Day(23, MonthConstants.JULY, 2001), new Double(1.6348)); t1.add(new Day(24, MonthConstants.JULY, 2001), new Double(1.6242)); t1.add(new Day(25, MonthConstants.JULY, 2001), new Double(1.6241)); t1.add(new Day(26, MonthConstants.JULY, 2001), new Double(1.6281)); t1.add(new Day(27, MonthConstants.JULY, 2001), new Double(1.6296)); t1.add(new Day(30, MonthConstants.JULY, 2001), new Double(1.6279)); t1.add(new Day(31, MonthConstants.JULY, 2001), new Double(1.6300)); t1.add(new Day(1, MonthConstants.AUGUST, 2001), new Double(1.6290)); t1.add(new Day(2, MonthConstants.AUGUST, 2001), new Double(1.6237)); t1.add(new Day(3, MonthConstants.AUGUST, 2001), new Double(1.6138)); t1.add(new Day(6, MonthConstants.AUGUST, 2001), new Double(1.6121)); t1.add(new Day(7, MonthConstants.AUGUST, 2001), new Double(1.6170)); t1.add(new Day(8, MonthConstants.AUGUST, 2001), new Double(1.6135)); t1.add(new Day(9, MonthConstants.AUGUST, 2001), new Double(1.5996)); t1.add(new Day(10, MonthConstants.AUGUST, 2001), new Double(1.5931)); t1.add(new Day(13, MonthConstants.AUGUST, 2001), new Double(1.5828)); t1.add(new Day(14, MonthConstants.AUGUST, 2001), new Double(1.5824)); t1.add(new Day(15, MonthConstants.AUGUST, 2001), new Double(1.5783)); t1.add(new Day(16, MonthConstants.AUGUST, 2001), new Double(1.5810)); t1.add(new Day(17, MonthConstants.AUGUST, 2001), new Double(1.5761)); t1.add(new Day(20, MonthConstants.AUGUST, 2001), new Double(1.5831)); t1.add(new Day(21, MonthConstants.AUGUST, 2001), new Double(1.5870)); t1.add(new Day(22, MonthConstants.AUGUST, 2001), new Double(1.5808)); t1.add(new Day(23, MonthConstants.AUGUST, 2001), new Double(1.5845)); t1.add(new Day(24, MonthConstants.AUGUST, 2001), new Double(1.5844)); t1.add(new Day(28, MonthConstants.AUGUST, 2001), new Double(1.5924)); t1.add(new Day(29, MonthConstants.AUGUST, 2001), new Double(1.5950)); t1.add(new Day(30, MonthConstants.AUGUST, 2001), new Double(1.5941)); t1.add(new Day(31, MonthConstants.AUGUST, 2001), new Double(1.5968)); t1.add(new Day(3, MonthConstants.SEPTEMBER, 2001), new Double(1.6020)); t1.add(new Day(4, MonthConstants.SEPTEMBER, 2001), new Double(1.6236)); t1.add(new Day(5, MonthConstants.SEPTEMBER, 2001), new Double(1.6352)); t1.add(new Day(6, MonthConstants.SEPTEMBER, 2001), new Double(1.6302)); t1.add(new Day(7, MonthConstants.SEPTEMBER, 2001), new Double(1.6180)); t1.add(new Day(10, MonthConstants.SEPTEMBER, 2001), new Double(1.6218)); t1.add(new Day(11, MonthConstants.SEPTEMBER, 2001), new Double(1.6182)); t1.add(new Day(12, MonthConstants.SEPTEMBER, 2001), new Double(1.6157)); t1.add(new Day(13, MonthConstants.SEPTEMBER, 2001), new Double(1.6171)); t1.add(new Day(14, MonthConstants.SEPTEMBER, 2001), new Double(1.5960)); t1.add(new Day(17, MonthConstants.SEPTEMBER, 2001), new Double(1.5952)); t1.add(new Day(18, MonthConstants.SEPTEMBER, 2001), new Double(1.5863)); t1.add(new Day(19, MonthConstants.SEPTEMBER, 2001), new Double(1.5790)); t1.add(new Day(20, MonthConstants.SEPTEMBER, 2001), new Double(1.5811)); t1.add(new Day(21, MonthConstants.SEPTEMBER, 2001), new Double(1.5917)); t1.add(new Day(24, MonthConstants.SEPTEMBER, 2001), new Double(1.6005)); t1.add(new Day(25, MonthConstants.SEPTEMBER, 2001), new Double(1.5915)); t1.add(new Day(26, MonthConstants.SEPTEMBER, 2001), new Double(1.6012)); t1.add(new Day(27, MonthConstants.SEPTEMBER, 2001), new Double(1.6032)); t1.add(new Day(28, MonthConstants.SEPTEMBER, 2001), new Double(1.6133)); t1.add(new Day(1, MonthConstants.OCTOBER, 2001), new Double(1.6147)); t1.add(new Day(2, MonthConstants.OCTOBER, 2001), new Double(1.6002)); t1.add(new Day(3, MonthConstants.OCTOBER, 2001), new Double(1.6041)); t1.add(new Day(4, MonthConstants.OCTOBER, 2001), new Double(1.6172)); t1.add(new Day(5, MonthConstants.OCTOBER, 2001), new Double(1.6121)); t1.add(new Day(8, MonthConstants.OCTOBER, 2001), new Double(1.6044)); t1.add(new Day(9, MonthConstants.OCTOBER, 2001), new Double(1.5974)); t1.add(new Day(10, MonthConstants.OCTOBER, 2001), new Double(1.5915)); t1.add(new Day(11, MonthConstants.OCTOBER, 2001), new Double(1.6022)); t1.add(new Day(12, MonthConstants.OCTOBER, 2001), new Double(1.6014)); t1.add(new Day(15, MonthConstants.OCTOBER, 2001), new Double(1.5942)); t1.add(new Day(16, MonthConstants.OCTOBER, 2001), new Double(1.5925)); t1.add(new Day(17, MonthConstants.OCTOBER, 2001), new Double(1.6007)); t1.add(new Day(18, MonthConstants.OCTOBER, 2001), new Double(1.6000)); t1.add(new Day(19, MonthConstants.OCTOBER, 2001), new Double(1.6030)); t1.add(new Day(22, MonthConstants.OCTOBER, 2001), new Double(1.6014)); t1.add(new Day(23, MonthConstants.OCTOBER, 2001), new Double(1.5995)); t1.add(new Day(24, MonthConstants.OCTOBER, 2001), new Double(1.5951)); t1.add(new Day(25, MonthConstants.OCTOBER, 2001), new Double(1.5953)); t1.add(new Day(26, MonthConstants.OCTOBER, 2001), new Double(1.6057)); t1.add(new Day(29, MonthConstants.OCTOBER, 2001), new Double(1.6051)); t1.add(new Day(30, MonthConstants.OCTOBER, 2001), new Double(1.6027)); t1.add(new Day(31, MonthConstants.OCTOBER, 2001), new Double(1.6144)); t1.add(new Day(1, MonthConstants.NOVEMBER, 2001), new Double(1.6139)); t1.add(new Day(2, MonthConstants.NOVEMBER, 2001), new Double(1.6189)); t1.add(new Day(5, MonthConstants.NOVEMBER, 2001), new Double(1.6248)); t1.add(new Day(6, MonthConstants.NOVEMBER, 2001), new Double(1.6267)); t1.add(new Day(7, MonthConstants.NOVEMBER, 2001), new Double(1.6281)); t1.add(new Day(8, MonthConstants.NOVEMBER, 2001), new Double(1.6310)); t1.add(new Day(9, MonthConstants.NOVEMBER, 2001), new Double(1.6313)); t1.add(new Day(12, MonthConstants.NOVEMBER, 2001), new Double(1.6272)); t1.add(new Day(13, MonthConstants.NOVEMBER, 2001), new Double(1.6361)); t1.add(new Day(14, MonthConstants.NOVEMBER, 2001), new Double(1.6323)); t1.add(new Day(15, MonthConstants.NOVEMBER, 2001), new Double(1.6252)); t1.add(new Day(16, MonthConstants.NOVEMBER, 2001), new Double(1.6141)); t1.add(new Day(19, MonthConstants.NOVEMBER, 2001), new Double(1.6086)); t1.add(new Day(20, MonthConstants.NOVEMBER, 2001), new Double(1.6055)); t1.add(new Day(21, MonthConstants.NOVEMBER, 2001), new Double(1.6132)); t1.add(new Day(22, MonthConstants.NOVEMBER, 2001), new Double(1.6074)); t1.add(new Day(23, MonthConstants.NOVEMBER, 2001), new Double(1.6065)); t1.add(new Day(26, MonthConstants.NOVEMBER, 2001), new Double(1.6061)); t1.add(new Day(27, MonthConstants.NOVEMBER, 2001), new Double(1.6039)); t1.add(new Day(28, MonthConstants.NOVEMBER, 2001), new Double(1.6069)); t1.add(new Day(29, MonthConstants.NOVEMBER, 2001), new Double(1.6044)); t1.add(new Day(30, MonthConstants.NOVEMBER, 2001), new Double(1.5928)); } catch (Exception e) { System.err.println(e.getMessage()); } return t1; }
From source file:com.jonas.testing.jfreechart.demos.DemoDatasetFactory.java
/** * Returns a time series of the daily EUR/GBP exchange rates in 2001 (to date), for use in * the JFreeChart demonstration application. * <P>/*from ww w . java2 s . c om*/ * You wouldn't normally create a time series in this way. Typically, values would * be read from a database. * * @return a sample time series. */ public static TimeSeries createJPYTimeSeries() { final TimeSeries t1 = new TimeSeries("JPY/GBP Exchange Rate"); try { t1.add(new Day(2, MonthConstants.JANUARY, 2001), new Double(171.2612)); t1.add(new Day(3, MonthConstants.JANUARY, 2001), new Double(172.1076)); t1.add(new Day(4, MonthConstants.JANUARY, 2001), new Double(172.3485)); t1.add(new Day(5, MonthConstants.JANUARY, 2001), new Double(173.7023)); t1.add(new Day(8, MonthConstants.JANUARY, 2001), new Double(174.1253)); t1.add(new Day(9, MonthConstants.JANUARY, 2001), new Double(173.6386)); t1.add(new Day(10, MonthConstants.JANUARY, 2001), new Double(173.2623)); t1.add(new Day(11, MonthConstants.JANUARY, 2001), new Double(175.7319)); t1.add(new Day(12, MonthConstants.JANUARY, 2001), new Double(174.2442)); t1.add(new Day(15, MonthConstants.JANUARY, 2001), new Double(175.7583)); t1.add(new Day(16, MonthConstants.JANUARY, 2001), new Double(173.0719)); t1.add(new Day(17, MonthConstants.JANUARY, 2001), new Double(173.0805)); t1.add(new Day(18, MonthConstants.JANUARY, 2001), new Double(174.1975)); t1.add(new Day(19, MonthConstants.JANUARY, 2001), new Double(172.3138)); t1.add(new Day(22, MonthConstants.JANUARY, 2001), new Double(170.5016)); t1.add(new Day(23, MonthConstants.JANUARY, 2001), new Double(172.1836)); t1.add(new Day(24, MonthConstants.JANUARY, 2001), new Double(172.2154)); t1.add(new Day(25, MonthConstants.JANUARY, 2001), new Double(170.1515)); t1.add(new Day(26, MonthConstants.JANUARY, 2001), new Double(170.3728)); t1.add(new Day(29, MonthConstants.JANUARY, 2001), new Double(170.2911)); t1.add(new Day(30, MonthConstants.JANUARY, 2001), new Double(170.3995)); t1.add(new Day(31, MonthConstants.JANUARY, 2001), new Double(169.9110)); t1.add(new Day(1, MonthConstants.FEBRUARY, 2001), new Double(170.4084)); t1.add(new Day(2, MonthConstants.FEBRUARY, 2001), new Double(169.8845)); t1.add(new Day(5, MonthConstants.FEBRUARY, 2001), new Double(169.5120)); t1.add(new Day(6, MonthConstants.FEBRUARY, 2001), new Double(167.9429)); t1.add(new Day(7, MonthConstants.FEBRUARY, 2001), new Double(169.6096)); t1.add(new Day(8, MonthConstants.FEBRUARY, 2001), new Double(167.8282)); t1.add(new Day(9, MonthConstants.FEBRUARY, 2001), new Double(170.1427)); t1.add(new Day(12, MonthConstants.FEBRUARY, 2001), new Double(170.8250)); t1.add(new Day(13, MonthConstants.FEBRUARY, 2001), new Double(170.4005)); t1.add(new Day(14, MonthConstants.FEBRUARY, 2001), new Double(170.1455)); t1.add(new Day(15, MonthConstants.FEBRUARY, 2001), new Double(167.6925)); t1.add(new Day(16, MonthConstants.FEBRUARY, 2001), new Double(167.6133)); t1.add(new Day(19, MonthConstants.FEBRUARY, 2001), new Double(167.7099)); t1.add(new Day(20, MonthConstants.FEBRUARY, 2001), new Double(166.9004)); t1.add(new Day(21, MonthConstants.FEBRUARY, 2001), new Double(168.4231)); t1.add(new Day(22, MonthConstants.FEBRUARY, 2001), new Double(168.3292)); t1.add(new Day(23, MonthConstants.FEBRUARY, 2001), new Double(168.6142)); t1.add(new Day(26, MonthConstants.FEBRUARY, 2001), new Double(168.2608)); t1.add(new Day(27, MonthConstants.FEBRUARY, 2001), new Double(167.6325)); t1.add(new Day(28, MonthConstants.FEBRUARY, 2001), new Double(169.1728)); t1.add(new Day(1, MonthConstants.MARCH, 2001), new Double(170.5199)); t1.add(new Day(2, MonthConstants.MARCH, 2001), new Double(175.5211)); t1.add(new Day(5, MonthConstants.MARCH, 2001), new Double(174.9543)); t1.add(new Day(6, MonthConstants.MARCH, 2001), new Double(174.4053)); t1.add(new Day(7, MonthConstants.MARCH, 2001), new Double(175.1675)); t1.add(new Day(8, MonthConstants.MARCH, 2001), new Double(175.7501)); t1.add(new Day(9, MonthConstants.MARCH, 2001), new Double(175.5956)); t1.add(new Day(12, MonthConstants.MARCH, 2001), new Double(176.6677)); t1.add(new Day(13, MonthConstants.MARCH, 2001), new Double(174.4282)); t1.add(new Day(14, MonthConstants.MARCH, 2001), new Double(175.1140)); t1.add(new Day(15, MonthConstants.MARCH, 2001), new Double(175.8914)); t1.add(new Day(16, MonthConstants.MARCH, 2001), new Double(175.7124)); t1.add(new Day(19, MonthConstants.MARCH, 2001), new Double(174.2307)); t1.add(new Day(20, MonthConstants.MARCH, 2001), new Double(175.0382)); t1.add(new Day(21, MonthConstants.MARCH, 2001), new Double(176.1183)); t1.add(new Day(22, MonthConstants.MARCH, 2001), new Double(176.2646)); t1.add(new Day(23, MonthConstants.MARCH, 2001), new Double(175.3608)); t1.add(new Day(26, MonthConstants.MARCH, 2001), new Double(176.5805)); t1.add(new Day(27, MonthConstants.MARCH, 2001), new Double(176.8495)); t1.add(new Day(28, MonthConstants.MARCH, 2001), new Double(174.7895)); t1.add(new Day(29, MonthConstants.MARCH, 2001), new Double(176.6957)); t1.add(new Day(30, MonthConstants.MARCH, 2001), new Double(178.1106)); t1.add(new Day(2, MonthConstants.APRIL, 2001), new Double(179.5654)); t1.add(new Day(3, MonthConstants.APRIL, 2001), new Double(179.7021)); t1.add(new Day(4, MonthConstants.APRIL, 2001), new Double(179.5065)); t1.add(new Day(5, MonthConstants.APRIL, 2001), new Double(177.9874)); t1.add(new Day(6, MonthConstants.APRIL, 2001), new Double(178.3541)); t1.add(new Day(9, MonthConstants.APRIL, 2001), new Double(181.0301)); t1.add(new Day(10, MonthConstants.APRIL, 2001), new Double(179.0357)); t1.add(new Day(11, MonthConstants.APRIL, 2001), new Double(178.8478)); t1.add(new Day(12, MonthConstants.APRIL, 2001), new Double(177.7927)); t1.add(new Day(17, MonthConstants.APRIL, 2001), new Double(177.1644)); t1.add(new Day(18, MonthConstants.APRIL, 2001), new Double(174.1972)); t1.add(new Day(19, MonthConstants.APRIL, 2001), new Double(174.9370)); t1.add(new Day(20, MonthConstants.APRIL, 2001), new Double(176.8555)); t1.add(new Day(23, MonthConstants.APRIL, 2001), new Double(175.3433)); t1.add(new Day(24, MonthConstants.APRIL, 2001), new Double(175.4792)); t1.add(new Day(25, MonthConstants.APRIL, 2001), new Double(175.7154)); t1.add(new Day(26, MonthConstants.APRIL, 2001), new Double(176.1797)); t1.add(new Day(27, MonthConstants.APRIL, 2001), new Double(177.7074)); t1.add(new Day(30, MonthConstants.APRIL, 2001), new Double(176.8592)); t1.add(new Day(1, MonthConstants.MAY, 2001), new Double(174.9104)); t1.add(new Day(2, MonthConstants.MAY, 2001), new Double(174.8992)); t1.add(new Day(3, MonthConstants.MAY, 2001), new Double(173.4239)); t1.add(new Day(4, MonthConstants.MAY, 2001), new Double(173.9663)); t1.add(new Day(8, MonthConstants.MAY, 2001), new Double(174.4871)); t1.add(new Day(9, MonthConstants.MAY, 2001), new Double(173.6851)); t1.add(new Day(10, MonthConstants.MAY, 2001), new Double(174.5957)); t1.add(new Day(11, MonthConstants.MAY, 2001), new Double(173.6254)); t1.add(new Day(14, MonthConstants.MAY, 2001), new Double(174.7913)); t1.add(new Day(15, MonthConstants.MAY, 2001), new Double(175.3932)); t1.add(new Day(16, MonthConstants.MAY, 2001), new Double(176.7291)); t1.add(new Day(17, MonthConstants.MAY, 2001), new Double(175.8551)); t1.add(new Day(18, MonthConstants.MAY, 2001), new Double(176.8558)); t1.add(new Day(21, MonthConstants.MAY, 2001), new Double(176.6443)); t1.add(new Day(22, MonthConstants.MAY, 2001), new Double(175.1953)); t1.add(new Day(23, MonthConstants.MAY, 2001), new Double(171.6117)); t1.add(new Day(24, MonthConstants.MAY, 2001), new Double(169.0407)); t1.add(new Day(25, MonthConstants.MAY, 2001), new Double(171.3975)); t1.add(new Day(29, MonthConstants.MAY, 2001), new Double(170.2811)); t1.add(new Day(30, MonthConstants.MAY, 2001), new Double(171.2154)); t1.add(new Day(31, MonthConstants.MAY, 2001), new Double(168.6795)); t1.add(new Day(1, MonthConstants.JUNE, 2001), new Double(168.2339)); t1.add(new Day(4, MonthConstants.JUNE, 2001), new Double(169.2090)); t1.add(new Day(5, MonthConstants.JUNE, 2001), new Double(169.4501)); t1.add(new Day(6, MonthConstants.JUNE, 2001), new Double(167.8414)); t1.add(new Day(7, MonthConstants.JUNE, 2001), new Double(166.6042)); t1.add(new Day(8, MonthConstants.JUNE, 2001), new Double(166.5005)); t1.add(new Day(11, MonthConstants.JUNE, 2001), new Double(167.2925)); t1.add(new Day(12, MonthConstants.JUNE, 2001), new Double(168.1171)); t1.add(new Day(13, MonthConstants.JUNE, 2001), new Double(168.9091)); t1.add(new Day(14, MonthConstants.JUNE, 2001), new Double(169.8863)); t1.add(new Day(15, MonthConstants.JUNE, 2001), new Double(171.5254)); t1.add(new Day(18, MonthConstants.JUNE, 2001), new Double(172.6955)); t1.add(new Day(19, MonthConstants.JUNE, 2001), new Double(172.3427)); t1.add(new Day(20, MonthConstants.JUNE, 2001), new Double(172.0421)); t1.add(new Day(21, MonthConstants.JUNE, 2001), new Double(175.9830)); t1.add(new Day(22, MonthConstants.JUNE, 2001), new Double(175.5076)); t1.add(new Day(25, MonthConstants.JUNE, 2001), new Double(175.1080)); t1.add(new Day(26, MonthConstants.JUNE, 2001), new Double(175.5043)); t1.add(new Day(27, MonthConstants.JUNE, 2001), new Double(175.3712)); t1.add(new Day(28, MonthConstants.JUNE, 2001), new Double(175.9575)); t1.add(new Day(29, MonthConstants.JUNE, 2001), new Double(175.4734)); t1.add(new Day(2, MonthConstants.JULY, 2001), new Double(175.9908)); t1.add(new Day(3, MonthConstants.JULY, 2001), new Double(175.2386)); t1.add(new Day(4, MonthConstants.JULY, 2001), new Double(175.0405)); t1.add(new Day(5, MonthConstants.JULY, 2001), new Double(175.9451)); t1.add(new Day(6, MonthConstants.JULY, 2001), new Double(177.3383)); t1.add(new Day(9, MonthConstants.JULY, 2001), new Double(176.6965)); t1.add(new Day(10, MonthConstants.JULY, 2001), new Double(177.0476)); t1.add(new Day(11, MonthConstants.JULY, 2001), new Double(175.6136)); t1.add(new Day(12, MonthConstants.JULY, 2001), new Double(174.1736)); t1.add(new Day(13, MonthConstants.JULY, 2001), new Double(174.8619)); t1.add(new Day(16, MonthConstants.JULY, 2001), new Double(175.4915)); t1.add(new Day(17, MonthConstants.JULY, 2001), new Double(175.1916)); t1.add(new Day(18, MonthConstants.JULY, 2001), new Double(176.0599)); t1.add(new Day(19, MonthConstants.JULY, 2001), new Double(174.8244)); t1.add(new Day(20, MonthConstants.JULY, 2001), new Double(175.8257)); t1.add(new Day(23, MonthConstants.JULY, 2001), new Double(176.2682)); t1.add(new Day(24, MonthConstants.JULY, 2001), new Double(176.1794)); t1.add(new Day(25, MonthConstants.JULY, 2001), new Double(176.4514)); t1.add(new Day(26, MonthConstants.JULY, 2001), new Double(176.7673)); t1.add(new Day(27, MonthConstants.JULY, 2001), new Double(176.1476)); t1.add(new Day(30, MonthConstants.JULY, 2001), new Double(178.3029)); t1.add(new Day(31, MonthConstants.JULY, 2001), new Double(178.0895)); t1.add(new Day(1, MonthConstants.AUGUST, 2001), new Double(178.6438)); t1.add(new Day(2, MonthConstants.AUGUST, 2001), new Double(177.1364)); t1.add(new Day(3, MonthConstants.AUGUST, 2001), new Double(176.4042)); t1.add(new Day(6, MonthConstants.AUGUST, 2001), new Double(175.7999)); t1.add(new Day(7, MonthConstants.AUGUST, 2001), new Double(175.5131)); t1.add(new Day(8, MonthConstants.AUGUST, 2001), new Double(173.9804)); t1.add(new Day(9, MonthConstants.AUGUST, 2001), new Double(174.9459)); t1.add(new Day(10, MonthConstants.AUGUST, 2001), new Double(173.8883)); t1.add(new Day(13, MonthConstants.AUGUST, 2001), new Double(173.8253)); t1.add(new Day(14, MonthConstants.AUGUST, 2001), new Double(173.0352)); t1.add(new Day(15, MonthConstants.AUGUST, 2001), new Double(172.4666)); t1.add(new Day(16, MonthConstants.AUGUST, 2001), new Double(173.4173)); t1.add(new Day(17, MonthConstants.AUGUST, 2001), new Double(173.6289)); t1.add(new Day(20, MonthConstants.AUGUST, 2001), new Double(174.3824)); t1.add(new Day(21, MonthConstants.AUGUST, 2001), new Double(173.5063)); t1.add(new Day(22, MonthConstants.AUGUST, 2001), new Double(174.3372)); t1.add(new Day(23, MonthConstants.AUGUST, 2001), new Double(173.8620)); t1.add(new Day(24, MonthConstants.AUGUST, 2001), new Double(173.5825)); t1.add(new Day(28, MonthConstants.AUGUST, 2001), new Double(174.7664)); t1.add(new Day(29, MonthConstants.AUGUST, 2001), new Double(173.5166)); t1.add(new Day(30, MonthConstants.AUGUST, 2001), new Double(173.8555)); t1.add(new Day(31, MonthConstants.AUGUST, 2001), new Double(172.6675)); t1.add(new Day(3, MonthConstants.SEPTEMBER, 2001), new Double(172.3986)); t1.add(new Day(4, MonthConstants.SEPTEMBER, 2001), new Double(171.8860)); t1.add(new Day(5, MonthConstants.SEPTEMBER, 2001), new Double(174.8640)); t1.add(new Day(6, MonthConstants.SEPTEMBER, 2001), new Double(176.1399)); t1.add(new Day(7, MonthConstants.SEPTEMBER, 2001), new Double(175.7110)); t1.add(new Day(10, MonthConstants.SEPTEMBER, 2001), new Double(176.3085)); t1.add(new Day(11, MonthConstants.SEPTEMBER, 2001), new Double(174.6263)); t1.add(new Day(12, MonthConstants.SEPTEMBER, 2001), new Double(174.8058)); t1.add(new Day(13, MonthConstants.SEPTEMBER, 2001), new Double(174.8257)); t1.add(new Day(14, MonthConstants.SEPTEMBER, 2001), new Double(172.3107)); t1.add(new Day(17, MonthConstants.SEPTEMBER, 2001), new Double(172.5397)); t1.add(new Day(18, MonthConstants.SEPTEMBER, 2001), new Double(171.7004)); t1.add(new Day(19, MonthConstants.SEPTEMBER, 2001), new Double(172.1289)); t1.add(new Day(20, MonthConstants.SEPTEMBER, 2001), new Double(170.3143)); t1.add(new Day(21, MonthConstants.SEPTEMBER, 2001), new Double(169.9737)); t1.add(new Day(24, MonthConstants.SEPTEMBER, 2001), new Double(172.0319)); t1.add(new Day(25, MonthConstants.SEPTEMBER, 2001), new Double(172.5516)); t1.add(new Day(26, MonthConstants.SEPTEMBER, 2001), new Double(173.8612)); t1.add(new Day(27, MonthConstants.SEPTEMBER, 2001), new Double(176.5408)); t1.add(new Day(28, MonthConstants.SEPTEMBER, 2001), new Double(175.1092)); t1.add(new Day(1, MonthConstants.OCTOBER, 2001), new Double(177.6150)); t1.add(new Day(2, MonthConstants.OCTOBER, 2001), new Double(177.1049)); t1.add(new Day(3, MonthConstants.OCTOBER, 2001), new Double(178.2525)); t1.add(new Day(4, MonthConstants.OCTOBER, 2001), new Double(178.0819)); t1.add(new Day(5, MonthConstants.OCTOBER, 2001), new Double(178.1643)); t1.add(new Day(8, MonthConstants.OCTOBER, 2001), new Double(176.6654)); t1.add(new Day(9, MonthConstants.OCTOBER, 2001), new Double(176.0773)); t1.add(new Day(10, MonthConstants.OCTOBER, 2001), new Double(174.4806)); t1.add(new Day(11, MonthConstants.OCTOBER, 2001), new Double(175.1855)); t1.add(new Day(12, MonthConstants.OCTOBER, 2001), new Double(176.1221)); t1.add(new Day(15, MonthConstants.OCTOBER, 2001), new Double(175.1425)); t1.add(new Day(16, MonthConstants.OCTOBER, 2001), new Double(175.4683)); t1.add(new Day(17, MonthConstants.OCTOBER, 2001), new Double(175.4936)); t1.add(new Day(18, MonthConstants.OCTOBER, 2001), new Double(174.8134)); t1.add(new Day(19, MonthConstants.OCTOBER, 2001), new Double(174.4492)); t1.add(new Day(22, MonthConstants.OCTOBER, 2001), new Double(174.1978)); t1.add(new Day(23, MonthConstants.OCTOBER, 2001), new Double(174.8360)); t1.add(new Day(24, MonthConstants.OCTOBER, 2001), new Double(174.9378)); t1.add(new Day(25, MonthConstants.OCTOBER, 2001), new Double(175.4385)); t1.add(new Day(26, MonthConstants.OCTOBER, 2001), new Double(176.4207)); t1.add(new Day(29, MonthConstants.OCTOBER, 2001), new Double(177.0540)); t1.add(new Day(30, MonthConstants.OCTOBER, 2001), new Double(177.1128)); t1.add(new Day(31, MonthConstants.OCTOBER, 2001), new Double(177.9818)); t1.add(new Day(1, MonthConstants.NOVEMBER, 2001), new Double(177.9595)); t1.add(new Day(2, MonthConstants.NOVEMBER, 2001), new Double(177.9251)); t1.add(new Day(5, MonthConstants.NOVEMBER, 2001), new Double(177.2003)); t1.add(new Day(6, MonthConstants.NOVEMBER, 2001), new Double(176.6169)); t1.add(new Day(7, MonthConstants.NOVEMBER, 2001), new Double(177.3191)); t1.add(new Day(8, MonthConstants.NOVEMBER, 2001), new Double(175.7736)); t1.add(new Day(9, MonthConstants.NOVEMBER, 2001), new Double(175.2104)); t1.add(new Day(12, MonthConstants.NOVEMBER, 2001), new Double(175.0749)); t1.add(new Day(13, MonthConstants.NOVEMBER, 2001), new Double(175.2402)); t1.add(new Day(14, MonthConstants.NOVEMBER, 2001), new Double(175.3503)); t1.add(new Day(15, MonthConstants.NOVEMBER, 2001), new Double(175.2810)); t1.add(new Day(16, MonthConstants.NOVEMBER, 2001), new Double(175.4077)); t1.add(new Day(19, MonthConstants.NOVEMBER, 2001), new Double(174.3462)); t1.add(new Day(20, MonthConstants.NOVEMBER, 2001), new Double(173.8177)); t1.add(new Day(21, MonthConstants.NOVEMBER, 2001), new Double(174.0356)); t1.add(new Day(22, MonthConstants.NOVEMBER, 2001), new Double(175.0548)); t1.add(new Day(23, MonthConstants.NOVEMBER, 2001), new Double(175.2207)); t1.add(new Day(26, MonthConstants.NOVEMBER, 2001), new Double(175.4978)); t1.add(new Day(27, MonthConstants.NOVEMBER, 2001), new Double(175.2191)); t1.add(new Day(28, MonthConstants.NOVEMBER, 2001), new Double(175.4236)); t1.add(new Day(29, MonthConstants.NOVEMBER, 2001), new Double(176.2304)); t1.add(new Day(30, MonthConstants.NOVEMBER, 2001), new Double(175.6119)); } catch (Exception e) { System.err.println(e.getMessage()); } return t1; }
From source file:gui.DemoDatasetFactory.java
/** * Returns a time series of the daily EUR/GBP exchange rates in 2001 (to date), for use in * the JFreeChart demonstration application. * <P>/*w w w . ja v a2s . c om*/ * You wouldn't normally create a time series in this way. Typically, values would * be read from a database. * * @return a sample time series. */ public static TimeSeries createJPYTimeSeries() { TimeSeries t1 = new TimeSeries("JPY/GBP Exchange Rate"); try { t1.add(new Day(2, MonthConstants.JANUARY, 2001), new Double(171.2612)); t1.add(new Day(3, MonthConstants.JANUARY, 2001), new Double(172.1076)); t1.add(new Day(4, MonthConstants.JANUARY, 2001), new Double(172.3485)); t1.add(new Day(5, MonthConstants.JANUARY, 2001), new Double(173.7023)); t1.add(new Day(8, MonthConstants.JANUARY, 2001), new Double(174.1253)); t1.add(new Day(9, MonthConstants.JANUARY, 2001), new Double(173.6386)); t1.add(new Day(10, MonthConstants.JANUARY, 2001), new Double(173.2623)); t1.add(new Day(11, MonthConstants.JANUARY, 2001), new Double(175.7319)); t1.add(new Day(12, MonthConstants.JANUARY, 2001), new Double(174.2442)); t1.add(new Day(15, MonthConstants.JANUARY, 2001), new Double(175.7583)); t1.add(new Day(16, MonthConstants.JANUARY, 2001), new Double(173.0719)); t1.add(new Day(17, MonthConstants.JANUARY, 2001), new Double(173.0805)); t1.add(new Day(18, MonthConstants.JANUARY, 2001), new Double(174.1975)); t1.add(new Day(19, MonthConstants.JANUARY, 2001), new Double(172.3138)); t1.add(new Day(22, MonthConstants.JANUARY, 2001), new Double(170.5016)); t1.add(new Day(23, MonthConstants.JANUARY, 2001), new Double(172.1836)); t1.add(new Day(24, MonthConstants.JANUARY, 2001), new Double(172.2154)); t1.add(new Day(25, MonthConstants.JANUARY, 2001), new Double(170.1515)); t1.add(new Day(26, MonthConstants.JANUARY, 2001), new Double(170.3728)); t1.add(new Day(29, MonthConstants.JANUARY, 2001), new Double(170.2911)); t1.add(new Day(30, MonthConstants.JANUARY, 2001), new Double(170.3995)); t1.add(new Day(31, MonthConstants.JANUARY, 2001), new Double(169.9110)); t1.add(new Day(1, MonthConstants.FEBRUARY, 2001), new Double(170.4084)); t1.add(new Day(2, MonthConstants.FEBRUARY, 2001), new Double(169.8845)); t1.add(new Day(5, MonthConstants.FEBRUARY, 2001), new Double(169.5120)); t1.add(new Day(6, MonthConstants.FEBRUARY, 2001), new Double(167.9429)); t1.add(new Day(7, MonthConstants.FEBRUARY, 2001), new Double(169.6096)); t1.add(new Day(8, MonthConstants.FEBRUARY, 2001), new Double(167.8282)); t1.add(new Day(9, MonthConstants.FEBRUARY, 2001), new Double(170.1427)); t1.add(new Day(12, MonthConstants.FEBRUARY, 2001), new Double(170.8250)); t1.add(new Day(13, MonthConstants.FEBRUARY, 2001), new Double(170.4005)); t1.add(new Day(14, MonthConstants.FEBRUARY, 2001), new Double(170.1455)); t1.add(new Day(15, MonthConstants.FEBRUARY, 2001), new Double(167.6925)); t1.add(new Day(16, MonthConstants.FEBRUARY, 2001), new Double(167.6133)); t1.add(new Day(19, MonthConstants.FEBRUARY, 2001), new Double(167.7099)); t1.add(new Day(20, MonthConstants.FEBRUARY, 2001), new Double(166.9004)); t1.add(new Day(21, MonthConstants.FEBRUARY, 2001), new Double(168.4231)); t1.add(new Day(22, MonthConstants.FEBRUARY, 2001), new Double(168.3292)); t1.add(new Day(23, MonthConstants.FEBRUARY, 2001), new Double(168.6142)); t1.add(new Day(26, MonthConstants.FEBRUARY, 2001), new Double(168.2608)); t1.add(new Day(27, MonthConstants.FEBRUARY, 2001), new Double(167.6325)); t1.add(new Day(28, MonthConstants.FEBRUARY, 2001), new Double(169.1728)); t1.add(new Day(1, MonthConstants.MARCH, 2001), new Double(170.5199)); t1.add(new Day(2, MonthConstants.MARCH, 2001), new Double(175.5211)); t1.add(new Day(5, MonthConstants.MARCH, 2001), new Double(174.9543)); t1.add(new Day(6, MonthConstants.MARCH, 2001), new Double(174.4053)); t1.add(new Day(7, MonthConstants.MARCH, 2001), new Double(175.1675)); t1.add(new Day(8, MonthConstants.MARCH, 2001), new Double(175.7501)); t1.add(new Day(9, MonthConstants.MARCH, 2001), new Double(175.5956)); t1.add(new Day(12, MonthConstants.MARCH, 2001), new Double(176.6677)); t1.add(new Day(13, MonthConstants.MARCH, 2001), new Double(174.4282)); t1.add(new Day(14, MonthConstants.MARCH, 2001), new Double(175.1140)); t1.add(new Day(15, MonthConstants.MARCH, 2001), new Double(175.8914)); t1.add(new Day(16, MonthConstants.MARCH, 2001), new Double(175.7124)); t1.add(new Day(19, MonthConstants.MARCH, 2001), new Double(174.2307)); t1.add(new Day(20, MonthConstants.MARCH, 2001), new Double(175.0382)); t1.add(new Day(21, MonthConstants.MARCH, 2001), new Double(176.1183)); t1.add(new Day(22, MonthConstants.MARCH, 2001), new Double(176.2646)); t1.add(new Day(23, MonthConstants.MARCH, 2001), new Double(175.3608)); t1.add(new Day(26, MonthConstants.MARCH, 2001), new Double(176.5805)); t1.add(new Day(27, MonthConstants.MARCH, 2001), new Double(176.8495)); t1.add(new Day(28, MonthConstants.MARCH, 2001), new Double(174.7895)); t1.add(new Day(29, MonthConstants.MARCH, 2001), new Double(176.6957)); t1.add(new Day(30, MonthConstants.MARCH, 2001), new Double(178.1106)); t1.add(new Day(2, MonthConstants.APRIL, 2001), new Double(179.5654)); t1.add(new Day(3, MonthConstants.APRIL, 2001), new Double(179.7021)); t1.add(new Day(4, MonthConstants.APRIL, 2001), new Double(179.5065)); t1.add(new Day(5, MonthConstants.APRIL, 2001), new Double(177.9874)); t1.add(new Day(6, MonthConstants.APRIL, 2001), new Double(178.3541)); t1.add(new Day(9, MonthConstants.APRIL, 2001), new Double(181.0301)); t1.add(new Day(10, MonthConstants.APRIL, 2001), new Double(179.0357)); t1.add(new Day(11, MonthConstants.APRIL, 2001), new Double(178.8478)); t1.add(new Day(12, MonthConstants.APRIL, 2001), new Double(177.7927)); t1.add(new Day(17, MonthConstants.APRIL, 2001), new Double(177.1644)); t1.add(new Day(18, MonthConstants.APRIL, 2001), new Double(174.1972)); t1.add(new Day(19, MonthConstants.APRIL, 2001), new Double(174.9370)); t1.add(new Day(20, MonthConstants.APRIL, 2001), new Double(176.8555)); t1.add(new Day(23, MonthConstants.APRIL, 2001), new Double(175.3433)); t1.add(new Day(24, MonthConstants.APRIL, 2001), new Double(175.4792)); t1.add(new Day(25, MonthConstants.APRIL, 2001), new Double(175.7154)); t1.add(new Day(26, MonthConstants.APRIL, 2001), new Double(176.1797)); t1.add(new Day(27, MonthConstants.APRIL, 2001), new Double(177.7074)); t1.add(new Day(30, MonthConstants.APRIL, 2001), new Double(176.8592)); t1.add(new Day(1, MonthConstants.MAY, 2001), new Double(174.9104)); t1.add(new Day(2, MonthConstants.MAY, 2001), new Double(174.8992)); t1.add(new Day(3, MonthConstants.MAY, 2001), new Double(173.4239)); t1.add(new Day(4, MonthConstants.MAY, 2001), new Double(173.9663)); t1.add(new Day(8, MonthConstants.MAY, 2001), new Double(174.4871)); t1.add(new Day(9, MonthConstants.MAY, 2001), new Double(173.6851)); t1.add(new Day(10, MonthConstants.MAY, 2001), new Double(174.5957)); t1.add(new Day(11, MonthConstants.MAY, 2001), new Double(173.6254)); t1.add(new Day(14, MonthConstants.MAY, 2001), new Double(174.7913)); t1.add(new Day(15, MonthConstants.MAY, 2001), new Double(175.3932)); t1.add(new Day(16, MonthConstants.MAY, 2001), new Double(176.7291)); t1.add(new Day(17, MonthConstants.MAY, 2001), new Double(175.8551)); t1.add(new Day(18, MonthConstants.MAY, 2001), new Double(176.8558)); t1.add(new Day(21, MonthConstants.MAY, 2001), new Double(176.6443)); t1.add(new Day(22, MonthConstants.MAY, 2001), new Double(175.1953)); t1.add(new Day(23, MonthConstants.MAY, 2001), new Double(171.6117)); t1.add(new Day(24, MonthConstants.MAY, 2001), new Double(169.0407)); t1.add(new Day(25, MonthConstants.MAY, 2001), new Double(171.3975)); t1.add(new Day(29, MonthConstants.MAY, 2001), new Double(170.2811)); t1.add(new Day(30, MonthConstants.MAY, 2001), new Double(171.2154)); t1.add(new Day(31, MonthConstants.MAY, 2001), new Double(168.6795)); t1.add(new Day(1, MonthConstants.JUNE, 2001), new Double(168.2339)); t1.add(new Day(4, MonthConstants.JUNE, 2001), new Double(169.2090)); t1.add(new Day(5, MonthConstants.JUNE, 2001), new Double(169.4501)); t1.add(new Day(6, MonthConstants.JUNE, 2001), new Double(167.8414)); t1.add(new Day(7, MonthConstants.JUNE, 2001), new Double(166.6042)); t1.add(new Day(8, MonthConstants.JUNE, 2001), new Double(166.5005)); t1.add(new Day(11, MonthConstants.JUNE, 2001), new Double(167.2925)); t1.add(new Day(12, MonthConstants.JUNE, 2001), new Double(168.1171)); t1.add(new Day(13, MonthConstants.JUNE, 2001), new Double(168.9091)); t1.add(new Day(14, MonthConstants.JUNE, 2001), new Double(169.8863)); t1.add(new Day(15, MonthConstants.JUNE, 2001), new Double(171.5254)); t1.add(new Day(18, MonthConstants.JUNE, 2001), new Double(172.6955)); t1.add(new Day(19, MonthConstants.JUNE, 2001), new Double(172.3427)); t1.add(new Day(20, MonthConstants.JUNE, 2001), new Double(172.0421)); t1.add(new Day(21, MonthConstants.JUNE, 2001), new Double(175.9830)); t1.add(new Day(22, MonthConstants.JUNE, 2001), new Double(175.5076)); t1.add(new Day(25, MonthConstants.JUNE, 2001), new Double(175.1080)); t1.add(new Day(26, MonthConstants.JUNE, 2001), new Double(175.5043)); t1.add(new Day(27, MonthConstants.JUNE, 2001), new Double(175.3712)); t1.add(new Day(28, MonthConstants.JUNE, 2001), new Double(175.9575)); t1.add(new Day(29, MonthConstants.JUNE, 2001), new Double(175.4734)); t1.add(new Day(2, MonthConstants.JULY, 2001), new Double(175.9908)); t1.add(new Day(3, MonthConstants.JULY, 2001), new Double(175.2386)); t1.add(new Day(4, MonthConstants.JULY, 2001), new Double(175.0405)); t1.add(new Day(5, MonthConstants.JULY, 2001), new Double(175.9451)); t1.add(new Day(6, MonthConstants.JULY, 2001), new Double(177.3383)); t1.add(new Day(9, MonthConstants.JULY, 2001), new Double(176.6965)); t1.add(new Day(10, MonthConstants.JULY, 2001), new Double(177.0476)); t1.add(new Day(11, MonthConstants.JULY, 2001), new Double(175.6136)); t1.add(new Day(12, MonthConstants.JULY, 2001), new Double(174.1736)); t1.add(new Day(13, MonthConstants.JULY, 2001), new Double(174.8619)); t1.add(new Day(16, MonthConstants.JULY, 2001), new Double(175.4915)); t1.add(new Day(17, MonthConstants.JULY, 2001), new Double(175.1916)); t1.add(new Day(18, MonthConstants.JULY, 2001), new Double(176.0599)); t1.add(new Day(19, MonthConstants.JULY, 2001), new Double(174.8244)); t1.add(new Day(20, MonthConstants.JULY, 2001), new Double(175.8257)); t1.add(new Day(23, MonthConstants.JULY, 2001), new Double(176.2682)); t1.add(new Day(24, MonthConstants.JULY, 2001), new Double(176.1794)); t1.add(new Day(25, MonthConstants.JULY, 2001), new Double(176.4514)); t1.add(new Day(26, MonthConstants.JULY, 2001), new Double(176.7673)); t1.add(new Day(27, MonthConstants.JULY, 2001), new Double(176.1476)); t1.add(new Day(30, MonthConstants.JULY, 2001), new Double(178.3029)); t1.add(new Day(31, MonthConstants.JULY, 2001), new Double(178.0895)); t1.add(new Day(1, MonthConstants.AUGUST, 2001), new Double(178.6438)); t1.add(new Day(2, MonthConstants.AUGUST, 2001), new Double(177.1364)); t1.add(new Day(3, MonthConstants.AUGUST, 2001), new Double(176.4042)); t1.add(new Day(6, MonthConstants.AUGUST, 2001), new Double(175.7999)); t1.add(new Day(7, MonthConstants.AUGUST, 2001), new Double(175.5131)); t1.add(new Day(8, MonthConstants.AUGUST, 2001), new Double(173.9804)); t1.add(new Day(9, MonthConstants.AUGUST, 2001), new Double(174.9459)); t1.add(new Day(10, MonthConstants.AUGUST, 2001), new Double(173.8883)); t1.add(new Day(13, MonthConstants.AUGUST, 2001), new Double(173.8253)); t1.add(new Day(14, MonthConstants.AUGUST, 2001), new Double(173.0352)); t1.add(new Day(15, MonthConstants.AUGUST, 2001), new Double(172.4666)); t1.add(new Day(16, MonthConstants.AUGUST, 2001), new Double(173.4173)); t1.add(new Day(17, MonthConstants.AUGUST, 2001), new Double(173.6289)); t1.add(new Day(20, MonthConstants.AUGUST, 2001), new Double(174.3824)); t1.add(new Day(21, MonthConstants.AUGUST, 2001), new Double(173.5063)); t1.add(new Day(22, MonthConstants.AUGUST, 2001), new Double(174.3372)); t1.add(new Day(23, MonthConstants.AUGUST, 2001), new Double(173.8620)); t1.add(new Day(24, MonthConstants.AUGUST, 2001), new Double(173.5825)); t1.add(new Day(28, MonthConstants.AUGUST, 2001), new Double(174.7664)); t1.add(new Day(29, MonthConstants.AUGUST, 2001), new Double(173.5166)); t1.add(new Day(30, MonthConstants.AUGUST, 2001), new Double(173.8555)); t1.add(new Day(31, MonthConstants.AUGUST, 2001), new Double(172.6675)); t1.add(new Day(3, MonthConstants.SEPTEMBER, 2001), new Double(172.3986)); t1.add(new Day(4, MonthConstants.SEPTEMBER, 2001), new Double(171.8860)); t1.add(new Day(5, MonthConstants.SEPTEMBER, 2001), new Double(174.8640)); t1.add(new Day(6, MonthConstants.SEPTEMBER, 2001), new Double(176.1399)); t1.add(new Day(7, MonthConstants.SEPTEMBER, 2001), new Double(175.7110)); t1.add(new Day(10, MonthConstants.SEPTEMBER, 2001), new Double(176.3085)); t1.add(new Day(11, MonthConstants.SEPTEMBER, 2001), new Double(174.6263)); t1.add(new Day(12, MonthConstants.SEPTEMBER, 2001), new Double(174.8058)); t1.add(new Day(13, MonthConstants.SEPTEMBER, 2001), new Double(174.8257)); t1.add(new Day(14, MonthConstants.SEPTEMBER, 2001), new Double(172.3107)); t1.add(new Day(17, MonthConstants.SEPTEMBER, 2001), new Double(172.5397)); t1.add(new Day(18, MonthConstants.SEPTEMBER, 2001), new Double(171.7004)); t1.add(new Day(19, MonthConstants.SEPTEMBER, 2001), new Double(172.1289)); t1.add(new Day(20, MonthConstants.SEPTEMBER, 2001), new Double(170.3143)); t1.add(new Day(21, MonthConstants.SEPTEMBER, 2001), new Double(169.9737)); t1.add(new Day(24, MonthConstants.SEPTEMBER, 2001), new Double(172.0319)); t1.add(new Day(25, MonthConstants.SEPTEMBER, 2001), new Double(172.5516)); t1.add(new Day(26, MonthConstants.SEPTEMBER, 2001), new Double(173.8612)); t1.add(new Day(27, MonthConstants.SEPTEMBER, 2001), new Double(176.5408)); t1.add(new Day(28, MonthConstants.SEPTEMBER, 2001), new Double(175.1092)); t1.add(new Day(1, MonthConstants.OCTOBER, 2001), new Double(177.6150)); t1.add(new Day(2, MonthConstants.OCTOBER, 2001), new Double(177.1049)); t1.add(new Day(3, MonthConstants.OCTOBER, 2001), new Double(178.2525)); t1.add(new Day(4, MonthConstants.OCTOBER, 2001), new Double(178.0819)); t1.add(new Day(5, MonthConstants.OCTOBER, 2001), new Double(178.1643)); t1.add(new Day(8, MonthConstants.OCTOBER, 2001), new Double(176.6654)); t1.add(new Day(9, MonthConstants.OCTOBER, 2001), new Double(176.0773)); t1.add(new Day(10, MonthConstants.OCTOBER, 2001), new Double(174.4806)); t1.add(new Day(11, MonthConstants.OCTOBER, 2001), new Double(175.1855)); t1.add(new Day(12, MonthConstants.OCTOBER, 2001), new Double(176.1221)); t1.add(new Day(15, MonthConstants.OCTOBER, 2001), new Double(175.1425)); t1.add(new Day(16, MonthConstants.OCTOBER, 2001), new Double(175.4683)); t1.add(new Day(17, MonthConstants.OCTOBER, 2001), new Double(175.4936)); t1.add(new Day(18, MonthConstants.OCTOBER, 2001), new Double(174.8134)); t1.add(new Day(19, MonthConstants.OCTOBER, 2001), new Double(174.4492)); t1.add(new Day(22, MonthConstants.OCTOBER, 2001), new Double(174.1978)); t1.add(new Day(23, MonthConstants.OCTOBER, 2001), new Double(174.8360)); t1.add(new Day(24, MonthConstants.OCTOBER, 2001), new Double(174.9378)); t1.add(new Day(25, MonthConstants.OCTOBER, 2001), new Double(175.4385)); t1.add(new Day(26, MonthConstants.OCTOBER, 2001), new Double(176.4207)); t1.add(new Day(29, MonthConstants.OCTOBER, 2001), new Double(177.0540)); t1.add(new Day(30, MonthConstants.OCTOBER, 2001), new Double(177.1128)); t1.add(new Day(31, MonthConstants.OCTOBER, 2001), new Double(177.9818)); t1.add(new Day(1, MonthConstants.NOVEMBER, 2001), new Double(177.9595)); t1.add(new Day(2, MonthConstants.NOVEMBER, 2001), new Double(177.9251)); t1.add(new Day(5, MonthConstants.NOVEMBER, 2001), new Double(177.2003)); t1.add(new Day(6, MonthConstants.NOVEMBER, 2001), new Double(176.6169)); t1.add(new Day(7, MonthConstants.NOVEMBER, 2001), new Double(177.3191)); t1.add(new Day(8, MonthConstants.NOVEMBER, 2001), new Double(175.7736)); t1.add(new Day(9, MonthConstants.NOVEMBER, 2001), new Double(175.2104)); t1.add(new Day(12, MonthConstants.NOVEMBER, 2001), new Double(175.0749)); t1.add(new Day(13, MonthConstants.NOVEMBER, 2001), new Double(175.2402)); t1.add(new Day(14, MonthConstants.NOVEMBER, 2001), new Double(175.3503)); t1.add(new Day(15, MonthConstants.NOVEMBER, 2001), new Double(175.2810)); t1.add(new Day(16, MonthConstants.NOVEMBER, 2001), new Double(175.4077)); t1.add(new Day(19, MonthConstants.NOVEMBER, 2001), new Double(174.3462)); t1.add(new Day(20, MonthConstants.NOVEMBER, 2001), new Double(173.8177)); t1.add(new Day(21, MonthConstants.NOVEMBER, 2001), new Double(174.0356)); t1.add(new Day(22, MonthConstants.NOVEMBER, 2001), new Double(175.0548)); t1.add(new Day(23, MonthConstants.NOVEMBER, 2001), new Double(175.2207)); t1.add(new Day(26, MonthConstants.NOVEMBER, 2001), new Double(175.4978)); t1.add(new Day(27, MonthConstants.NOVEMBER, 2001), new Double(175.2191)); t1.add(new Day(28, MonthConstants.NOVEMBER, 2001), new Double(175.4236)); t1.add(new Day(29, MonthConstants.NOVEMBER, 2001), new Double(176.2304)); t1.add(new Day(30, MonthConstants.NOVEMBER, 2001), new Double(175.6119)); } catch (Exception e) { System.err.println(e.getMessage()); } return t1; }