Example usage for org.jfree.date MonthConstants JANUARY

List of usage examples for org.jfree.date MonthConstants JANUARY

Introduction

In this page you can find the example usage for org.jfree.date MonthConstants JANUARY.

Prototype

int JANUARY

To view the source code for org.jfree.date MonthConstants JANUARY.

Click Source Link

Document

Constant for January.

Usage

From source file:org.jfree.data.time.MonthTest.java

/**
 * Common test setup./*from w  w  w.  j a  va  2s .  c o  m*/
 */
@Before
public void setUp() {
    this.jan1900 = new Month(MonthConstants.JANUARY, 1900);
    this.feb1900 = new Month(MonthConstants.FEBRUARY, 1900);
    this.nov9999 = new Month(MonthConstants.NOVEMBER, 9999);
    this.dec9999 = new Month(MonthConstants.DECEMBER, 9999);
}

From source file:org.jfree.data.time.TimePeriodValuesTest.java

/**
 * Set up a quarter equal to Q1 1900.  Request the previous quarter, it 
 * should be null./*from  w w w  .j  a  v a  2  s  . c o  m*/
 */
@Test
public void testClone() throws CloneNotSupportedException {
    TimePeriodValues series = new TimePeriodValues("Test Series");
    RegularTimePeriod jan1st2002 = new Day(1, MonthConstants.JANUARY, 2002);
    series.add(jan1st2002, new Integer(42));
    TimePeriodValues clone = (TimePeriodValues) series.clone();
    clone.setKey("Clone Series");
    clone.update(0, new Integer(10));

    int seriesValue = series.getValue(0).intValue();
    int cloneValue = clone.getValue(0).intValue();

    assertEquals(42, seriesValue);
    assertEquals(10, cloneValue);
    assertEquals("Test Series", series.getKey());
    assertEquals("Clone Series", clone.getKey());
}

From source file:org.jfree.data.time.HourTest.java

/**
 * Set up an hour equal to hour zero, 1 January 1900.  Request the
 * previous hour, it should be null.//from w w w.  j  a  v  a  2s  .  co  m
 */
@Test
public void testFirstHourPrevious() {
    Hour first = new Hour(0, new Day(1, MonthConstants.JANUARY, 1900));
    Hour previous = (Hour) first.previous();
    assertNull(previous);
}

From source file:org.jfree.data.time.DayTest.java

/**
 * Set up a day equal to 1 January 1900.  Request the previous day, it
 * should be null.//from ww w  . j a  v  a  2 s.  co  m
 */
@Test
public void test1Jan1900Previous() {
    Day jan1st1900 = new Day(1, MonthConstants.JANUARY, 1900);
    Day previous = (Day) jan1st1900.previous();
    assertNull(previous);
}

From source file:org.jfree.data.time.HourTest.java

/**
 * Set up an hour equal to hour zero, 1 January 1900.  Request the next
 * hour, it should be null./*from www  . j  ava  2 s  .  co m*/
 */
@Test
public void testFirstHourNext() {
    Hour first = new Hour(0, new Day(1, MonthConstants.JANUARY, 1900));
    Hour next = (Hour) first.next();
    assertEquals(1, next.getHour());
    assertEquals(1900, next.getYear());
}

From source file:org.jfree.data.time.DayTest.java

/**
 * Set up a day equal to 1 January 1900.  Request the next day, it should
 * be 2 January 1900./*  w w w  .  j av a  2 s. c  o  m*/
 */
@Test
public void test1Jan1900Next() {
    Day jan1st1900 = new Day(1, MonthConstants.JANUARY, 1900);
    Day next = (Day) jan1st1900.next();
    assertEquals(2, next.getDayOfMonth());
}

From source file:org.jfree.chart.demo.PriceVolumeDemo.java

/**
 * Creates a sample dataset./*  w  ww. j  a  va2  s.c o  m*/
 *
 * @return A sample dataset.
 */
private XYDataset createPriceDataset() {

    // create dataset 1...
    final TimeSeries series1 = new TimeSeries("Price", Day.class);

    series1.add(new Day(2, MonthConstants.JANUARY, 2002), 95.565);
    series1.add(new Day(3, MonthConstants.JANUARY, 2002), 95.640);
    series1.add(new Day(4, MonthConstants.JANUARY, 2002), 95.710);

    series1.add(new Day(7, MonthConstants.JANUARY, 2002), 95.930);
    series1.add(new Day(8, MonthConstants.JANUARY, 2002), 95.930);
    series1.add(new Day(9, MonthConstants.JANUARY, 2002), 95.960);
    series1.add(new Day(10, MonthConstants.JANUARY, 2002), 96.055);
    series1.add(new Day(11, MonthConstants.JANUARY, 2002), 96.335);

    series1.add(new Day(14, MonthConstants.JANUARY, 2002), 96.290);
    series1.add(new Day(15, MonthConstants.JANUARY, 2002), 96.275);
    series1.add(new Day(16, MonthConstants.JANUARY, 2002), 96.240);
    series1.add(new Day(17, MonthConstants.JANUARY, 2002), 96.080);
    series1.add(new Day(18, MonthConstants.JANUARY, 2002), 96.145);

    series1.add(new Day(22, MonthConstants.JANUARY, 2002), 96.120);
    series1.add(new Day(23, MonthConstants.JANUARY, 2002), 96.015);
    series1.add(new Day(24, MonthConstants.JANUARY, 2002), 95.890);
    series1.add(new Day(25, MonthConstants.JANUARY, 2002), 95.8650);

    series1.add(new Day(28, MonthConstants.JANUARY, 2002), 95.880);
    series1.add(new Day(29, MonthConstants.JANUARY, 2002), 96.050);
    series1.add(new Day(30, MonthConstants.JANUARY, 2002), 96.065);
    series1.add(new Day(31, MonthConstants.JANUARY, 2002), 95.910);
    series1.add(new Day(1, MonthConstants.FEBRUARY, 2002), 96.015);

    series1.add(new Day(4, MonthConstants.FEBRUARY, 2002), 96.140);
    series1.add(new Day(5, MonthConstants.FEBRUARY, 2002), 96.195);
    series1.add(new Day(6, MonthConstants.FEBRUARY, 2002), 96.245);
    series1.add(new Day(7, MonthConstants.FEBRUARY, 2002), 96.220);
    series1.add(new Day(8, MonthConstants.FEBRUARY, 2002), 96.280);

    series1.add(new Day(11, MonthConstants.FEBRUARY, 2002), 96.265);
    series1.add(new Day(12, MonthConstants.FEBRUARY, 2002), 96.160);
    series1.add(new Day(13, MonthConstants.FEBRUARY, 2002), 96.120);
    series1.add(new Day(14, MonthConstants.FEBRUARY, 2002), 96.125);
    series1.add(new Day(15, MonthConstants.FEBRUARY, 2002), 96.265);

    series1.add(new Day(19, MonthConstants.FEBRUARY, 2002), 96.290);
    series1.add(new Day(20, MonthConstants.FEBRUARY, 2002), 96.275);
    series1.add(new Day(21, MonthConstants.FEBRUARY, 2002), 96.280);
    series1.add(new Day(22, MonthConstants.FEBRUARY, 2002), 96.305);

    series1.add(new Day(25, MonthConstants.FEBRUARY, 2002), 96.265);
    series1.add(new Day(26, MonthConstants.FEBRUARY, 2002), 96.185);
    series1.add(new Day(27, MonthConstants.FEBRUARY, 2002), 96.305);
    series1.add(new Day(28, MonthConstants.FEBRUARY, 2002), 96.215);
    series1.add(new Day(1, MonthConstants.MARCH, 2002), 96.015);

    series1.add(new Day(4, MonthConstants.MARCH, 2002), 95.970);
    series1.add(new Day(5, MonthConstants.MARCH, 2002), 95.935);
    series1.add(new Day(6, MonthConstants.MARCH, 2002), 95.935);
    series1.add(new Day(7, MonthConstants.MARCH, 2002), 95.705);
    series1.add(new Day(8, MonthConstants.MARCH, 2002), 95.4850);

    series1.add(new Day(11, MonthConstants.MARCH, 2002), 95.505);
    series1.add(new Day(12, MonthConstants.MARCH, 2002), 95.540);
    series1.add(new Day(13, MonthConstants.MARCH, 2002), 95.675);
    series1.add(new Day(14, MonthConstants.MARCH, 2002), 95.510);
    series1.add(new Day(15, MonthConstants.MARCH, 2002), 95.500);

    series1.add(new Day(18, MonthConstants.MARCH, 2002), 95.500);
    series1.add(new Day(19, MonthConstants.MARCH, 2002), 95.535);
    series1.add(new Day(20, MonthConstants.MARCH, 2002), 95.420);
    series1.add(new Day(21, MonthConstants.MARCH, 2002), 95.400);
    series1.add(new Day(22, MonthConstants.MARCH, 2002), 95.375);

    series1.add(new Day(25, MonthConstants.MARCH, 2002), 95.350);
    series1.add(new Day(26, MonthConstants.MARCH, 2002), 95.505);
    series1.add(new Day(27, MonthConstants.MARCH, 2002), 95.550);
    series1.add(new Day(28, MonthConstants.MARCH, 2002), 95.485);

    series1.add(new Day(1, MonthConstants.APRIL, 2002), 95.485);
    series1.add(new Day(2, MonthConstants.APRIL, 2002), 95.630);
    series1.add(new Day(3, MonthConstants.APRIL, 2002), 95.735);
    series1.add(new Day(4, MonthConstants.APRIL, 2002), 95.695);
    series1.add(new Day(5, MonthConstants.APRIL, 2002), 95.810);

    series1.add(new Day(8, MonthConstants.APRIL, 2002), 95.810);
    series1.add(new Day(9, MonthConstants.APRIL, 2002), 95.865);
    series1.add(new Day(10, MonthConstants.APRIL, 2002), 95.885);
    series1.add(new Day(11, MonthConstants.APRIL, 2002), 95.900);
    series1.add(new Day(12, MonthConstants.APRIL, 2002), 95.980);

    series1.add(new Day(15, MonthConstants.APRIL, 2002), 96.035);
    series1.add(new Day(16, MonthConstants.APRIL, 2002), 96.000);
    series1.add(new Day(17, MonthConstants.APRIL, 2002), 96.035);
    series1.add(new Day(18, MonthConstants.APRIL, 2002), 96.085);
    series1.add(new Day(19, MonthConstants.APRIL, 2002), 96.0750);

    series1.add(new Day(22, MonthConstants.APRIL, 2002), 96.105);
    series1.add(new Day(23, MonthConstants.APRIL, 2002), 96.075);
    series1.add(new Day(24, MonthConstants.APRIL, 2002), 96.210);
    series1.add(new Day(25, MonthConstants.APRIL, 2002), 96.255);
    series1.add(new Day(26, MonthConstants.APRIL, 2002), 96.310);

    series1.add(new Day(29, MonthConstants.APRIL, 2002), 96.310);
    series1.add(new Day(30, MonthConstants.APRIL, 2002), 96.325);
    series1.add(new Day(1, MonthConstants.MAY, 2002), 96.345);
    series1.add(new Day(2, MonthConstants.MAY, 2002), 96.285);
    series1.add(new Day(3, MonthConstants.MAY, 2002), 96.385);

    series1.add(new Day(6, MonthConstants.MAY, 2002), 96.380);
    series1.add(new Day(7, MonthConstants.MAY, 2002), 96.485);
    series1.add(new Day(8, MonthConstants.MAY, 2002), 96.230);
    series1.add(new Day(9, MonthConstants.MAY, 2002), 96.310);
    series1.add(new Day(10, MonthConstants.MAY, 2002), 96.445);

    series1.add(new Day(13, MonthConstants.MAY, 2002), 96.355);
    series1.add(new Day(14, MonthConstants.MAY, 2002), 96.180);
    series1.add(new Day(15, MonthConstants.MAY, 2002), 96.240);
    series1.add(new Day(16, MonthConstants.MAY, 2002), 96.325);
    series1.add(new Day(17, MonthConstants.MAY, 2002), 96.200);

    series1.add(new Day(20, MonthConstants.MAY, 2002), 96.305);
    series1.add(new Day(21, MonthConstants.MAY, 2002), 96.385);
    series1.add(new Day(22, MonthConstants.MAY, 2002), 96.445);
    series1.add(new Day(23, MonthConstants.MAY, 2002), 96.385);
    series1.add(new Day(24, MonthConstants.MAY, 2002), 96.390);

    series1.add(new Day(28, MonthConstants.MAY, 2002), 96.390);
    series1.add(new Day(29, MonthConstants.MAY, 2002), 96.475);
    series1.add(new Day(30, MonthConstants.MAY, 2002), 96.555);
    series1.add(new Day(31, MonthConstants.MAY, 2002), 96.500);

    series1.add(new Day(3, MonthConstants.JUNE, 2002), 96.540);
    series1.add(new Day(4, MonthConstants.JUNE, 2002), 96.605);
    series1.add(new Day(5, MonthConstants.JUNE, 2002), 96.580);
    series1.add(new Day(6, MonthConstants.JUNE, 2002), 96.610);
    series1.add(new Day(7, MonthConstants.JUNE, 2002), 96.600);

    series1.add(new Day(10, MonthConstants.JUNE, 2002), 96.615);
    series1.add(new Day(11, MonthConstants.JUNE, 2002), 96.705);
    series1.add(new Day(12, MonthConstants.JUNE, 2002), 96.750);
    series1.add(new Day(13, MonthConstants.JUNE, 2002), 96.830);
    series1.add(new Day(14, MonthConstants.JUNE, 2002), 96.965);

    series1.add(new Day(17, MonthConstants.JUNE, 2002), 96.945);
    series1.add(new Day(18, MonthConstants.JUNE, 2002), 96.990);
    series1.add(new Day(19, MonthConstants.JUNE, 2002), 97.165);
    series1.add(new Day(20, MonthConstants.JUNE, 2002), 97.030);
    series1.add(new Day(21, MonthConstants.JUNE, 2002), 97.145);

    series1.add(new Day(24, MonthConstants.JUNE, 2002), 97.120);
    series1.add(new Day(25, MonthConstants.JUNE, 2002), 97.175);
    series1.add(new Day(26, MonthConstants.JUNE, 2002), 97.365);
    series1.add(new Day(27, MonthConstants.JUNE, 2002), 97.245);
    series1.add(new Day(28, MonthConstants.JUNE, 2002), 97.245);

    series1.add(new Day(1, MonthConstants.JULY, 2002), 97.290);
    series1.add(new Day(2, MonthConstants.JULY, 2002), 97.380);
    series1.add(new Day(3, MonthConstants.JULY, 2002), 97.380);

    series1.add(new Day(5, MonthConstants.JULY, 2002), 97.220);

    series1.add(new Day(8, MonthConstants.JULY, 2002), 97.325);
    series1.add(new Day(9, MonthConstants.JULY, 2002), 97.455);
    series1.add(new Day(10, MonthConstants.JULY, 2002), 97.580);
    series1.add(new Day(11, MonthConstants.JULY, 2002), 97.605);
    series1.add(new Day(12, MonthConstants.JULY, 2002), 97.690);

    series1.add(new Day(15, MonthConstants.JULY, 2002), 97.730);
    series1.add(new Day(16, MonthConstants.JULY, 2002), 97.580);
    series1.add(new Day(17, MonthConstants.JULY, 2002), 97.640);
    series1.add(new Day(18, MonthConstants.JULY, 2002), 97.680);
    series1.add(new Day(19, MonthConstants.JULY, 2002), 97.715);

    series1.add(new Day(22, MonthConstants.JULY, 2002), 97.815);
    series1.add(new Day(23, MonthConstants.JULY, 2002), 97.875);
    series1.add(new Day(24, MonthConstants.JULY, 2002), 97.835);
    series1.add(new Day(25, MonthConstants.JULY, 2002), 97.925);
    series1.add(new Day(26, MonthConstants.JULY, 2002), 97.960);

    series1.add(new Day(29, MonthConstants.JULY, 2002), 97.745);
    series1.add(new Day(30, MonthConstants.JULY, 2002), 97.710);
    series1.add(new Day(31, MonthConstants.JULY, 2002), 97.930);
    series1.add(new Day(1, MonthConstants.AUGUST, 2002), 98.000);
    series1.add(new Day(2, MonthConstants.AUGUST, 2002), 98.170);

    series1.add(new Day(5, MonthConstants.AUGUST, 2002), 98.225);
    series1.add(new Day(6, MonthConstants.AUGUST, 2002), 98.115);
    series1.add(new Day(7, MonthConstants.AUGUST, 2002), 98.265);
    series1.add(new Day(8, MonthConstants.AUGUST, 2002), 98.180);
    series1.add(new Day(9, MonthConstants.AUGUST, 2002), 98.185);

    series1.add(new Day(12, MonthConstants.AUGUST, 2002), 98.150);
    series1.add(new Day(13, MonthConstants.AUGUST, 2002), 98.290);
    series1.add(new Day(14, MonthConstants.AUGUST, 2002), 98.155);
    series1.add(new Day(15, MonthConstants.AUGUST, 2002), 98.075);
    series1.add(new Day(16, MonthConstants.AUGUST, 2002), 98.000);

    series1.add(new Day(19, MonthConstants.AUGUST, 2002), 98.040);
    series1.add(new Day(20, MonthConstants.AUGUST, 2002), 98.135);
    series1.add(new Day(21, MonthConstants.AUGUST, 2002), 98.110);
    series1.add(new Day(22, MonthConstants.AUGUST, 2002), 98.005);
    series1.add(new Day(23, MonthConstants.AUGUST, 2002), 98.055);

    series1.add(new Day(26, MonthConstants.AUGUST, 2002), 98.065);
    series1.add(new Day(27, MonthConstants.AUGUST, 2002), 97.980);
    series1.add(new Day(28, MonthConstants.AUGUST, 2002), 98.035);
    series1.add(new Day(29, MonthConstants.AUGUST, 2002), 98.095);
    series1.add(new Day(30, MonthConstants.AUGUST, 2002), 98.060);

    series1.add(new Day(3, MonthConstants.SEPTEMBER, 2002), 98.250);
    series1.add(new Day(4, MonthConstants.SEPTEMBER, 2002), 98.245);
    series1.add(new Day(5, MonthConstants.SEPTEMBER, 2002), 98.315);
    series1.add(new Day(6, MonthConstants.SEPTEMBER, 2002), 98.170);

    series1.add(new Day(9, MonthConstants.SEPTEMBER, 2002), 98.080);
    series1.add(new Day(10, MonthConstants.SEPTEMBER, 2002), 98.090);
    series1.add(new Day(11, MonthConstants.SEPTEMBER, 2002), 98.030);
    series1.add(new Day(12, MonthConstants.SEPTEMBER, 2002), 98.105);
    series1.add(new Day(13, MonthConstants.SEPTEMBER, 2002), 98.135);

    series1.add(new Day(16, MonthConstants.SEPTEMBER, 2002), 98.115);
    series1.add(new Day(17, MonthConstants.SEPTEMBER, 2002), 98.125);
    series1.add(new Day(18, MonthConstants.SEPTEMBER, 2002), 98.130);
    series1.add(new Day(19, MonthConstants.SEPTEMBER, 2002), 98.255);
    series1.add(new Day(20, MonthConstants.SEPTEMBER, 2002), 98.255);

    series1.add(new Day(23, MonthConstants.SEPTEMBER, 2002), 98.280);
    series1.add(new Day(24, MonthConstants.SEPTEMBER, 2002), 98.310);
    series1.add(new Day(25, MonthConstants.SEPTEMBER, 2002), 98.250);
    series1.add(new Day(26, MonthConstants.SEPTEMBER, 2002), 98.300);
    series1.add(new Day(27, MonthConstants.SEPTEMBER, 2002), 98.410);

    series1.add(new Day(30, MonthConstants.SEPTEMBER, 2002), 98.495);
    series1.add(new Day(1, MonthConstants.OCTOBER, 2002), 98.440);
    series1.add(new Day(2, MonthConstants.OCTOBER, 2002), 98.440);
    series1.add(new Day(3, MonthConstants.OCTOBER, 2002), 98.440);
    series1.add(new Day(4, MonthConstants.OCTOBER, 2002), 98.380);

    series1.add(new Day(7, MonthConstants.OCTOBER, 2002), 98.385);
    series1.add(new Day(8, MonthConstants.OCTOBER, 2002), 98.340);
    series1.add(new Day(9, MonthConstants.OCTOBER, 2002), 98.420);
    series1.add(new Day(10, MonthConstants.OCTOBER, 2002), 98.375);
    series1.add(new Day(11, MonthConstants.OCTOBER, 2002), 98.275);

    series1.add(new Day(14, MonthConstants.OCTOBER, 2002), 98.275);
    series1.add(new Day(15, MonthConstants.OCTOBER, 2002), 98.135);
    series1.add(new Day(16, MonthConstants.OCTOBER, 2002), 98.165);
    series1.add(new Day(17, MonthConstants.OCTOBER, 2002), 98.170);
    series1.add(new Day(18, MonthConstants.OCTOBER, 2002), 98.165);

    series1.add(new Day(21, MonthConstants.OCTOBER, 2002), 98.105);
    series1.add(new Day(22, MonthConstants.OCTOBER, 2002), 98.125);
    series1.add(new Day(23, MonthConstants.OCTOBER, 2002), 98.185);
    series1.add(new Day(24, MonthConstants.OCTOBER, 2002), 98.245);
    series1.add(new Day(25, MonthConstants.OCTOBER, 2002), 98.320);

    series1.add(new Day(28, MonthConstants.OCTOBER, 2002), 98.420);
    series1.add(new Day(29, MonthConstants.OCTOBER, 2002), 98.540);
    series1.add(new Day(30, MonthConstants.OCTOBER, 2002), 98.545);
    series1.add(new Day(31, MonthConstants.OCTOBER, 2002), 98.560);

    return new TimeSeriesCollection(series1);

}

From source file:org.jfree.data.time.TimeSeriesTest.java

/**
 * Check that cloning works.//from   w ww .  j  a v  a  2 s.  com
 */
@Test
public void testClone() throws CloneNotSupportedException {
    TimeSeries series = new TimeSeries("Test Series");
    RegularTimePeriod jan1st2002 = new Day(1, MonthConstants.JANUARY, 2002);
    series.add(jan1st2002, new Integer(42));

    TimeSeries clone;
    clone = (TimeSeries) series.clone();
    clone.setKey("Clone Series");
    clone.update(jan1st2002, new Integer(10));

    int seriesValue = series.getValue(jan1st2002).intValue();
    int cloneValue = clone.getValue(jan1st2002).intValue();

    assertEquals(42, seriesValue);
    assertEquals(10, cloneValue);
    assertEquals("Test Series", series.getKey());
    assertEquals("Clone Series", clone.getKey());
}

From source file:eu.planets_project.tb.impl.chart.ExperimentChartServlet.java

/**
 * Creates a sample time series chart./*from  w w w.  ja v  a2 s .com*/
 *
 * @return a time series chart.
 */
private JFreeChart createTimeSeriesChart() {

    // here we just populate a series with random data...
    TimeSeries series = new TimeSeries("Random Data");
    Day current = new Day(1, MonthConstants.JANUARY, 2001);
    for (int i = 0; i < 100; i++) {
        series.add(current, Math.random() * 100);
        current = (Day) current.next();
    }

    XYDataset data = new TimeSeriesCollection(series);

    JFreeChart chart = ChartFactory.createTimeSeriesChart("Time Series Chart", "Date", "Rate", data, true, true,
            false);

    return chart;

}

From source file:com.jonas.testing.jfreechart.demos.DemoDatasetFactory.java

/**
 * Returns a time series of the daily USD/GBP exchange rates in 2001 (to date), for use in
 * the JFreeChart demonstration application.
 * <P>//  ww w.ja  v a2s .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 createUSDTimeSeries() {

    final TimeSeries t1 = new TimeSeries("USD/GBP");
    try {
        t1.add(new Day(2, MonthConstants.JANUARY, 2001), 1.4956);
        t1.add(new Day(3, MonthConstants.JANUARY, 2001), new Double(1.5047));
        t1.add(new Day(4, MonthConstants.JANUARY, 2001), new Double(1.4931));
        t1.add(new Day(5, MonthConstants.JANUARY, 2001), new Double(1.4955));
        t1.add(new Day(8, MonthConstants.JANUARY, 2001), new Double(1.4994));
        t1.add(new Day(9, MonthConstants.JANUARY, 2001), new Double(1.4911));
        t1.add(new Day(10, MonthConstants.JANUARY, 2001), new Double(1.4903));
        t1.add(new Day(11, MonthConstants.JANUARY, 2001), new Double(1.4947));
        t1.add(new Day(12, MonthConstants.JANUARY, 2001), new Double(1.4784));
        t1.add(new Day(15, MonthConstants.JANUARY, 2001), new Double(1.4787));
        t1.add(new Day(16, MonthConstants.JANUARY, 2001), new Double(1.4702));
        t1.add(new Day(17, MonthConstants.JANUARY, 2001), new Double(1.4729));
        t1.add(new Day(18, MonthConstants.JANUARY, 2001), new Double(1.4760));
        t1.add(new Day(19, MonthConstants.JANUARY, 2001), new Double(1.4685));
        t1.add(new Day(22, MonthConstants.JANUARY, 2001), new Double(1.4609));
        t1.add(new Day(23, MonthConstants.JANUARY, 2001), new Double(1.4709));
        t1.add(new Day(24, MonthConstants.JANUARY, 2001), new Double(1.4576));
        t1.add(new Day(25, MonthConstants.JANUARY, 2001), new Double(1.4589));
        t1.add(new Day(26, MonthConstants.JANUARY, 2001), new Double(1.4568));
        t1.add(new Day(29, MonthConstants.JANUARY, 2001), new Double(1.4566));
        t1.add(new Day(30, MonthConstants.JANUARY, 2001), new Double(1.4604));
        t1.add(new Day(31, MonthConstants.JANUARY, 2001), new Double(1.4616));
        t1.add(new Day(1, MonthConstants.FEBRUARY, 2001), new Double(1.4777));
        t1.add(new Day(2, MonthConstants.FEBRUARY, 2001), new Double(1.4687));
        t1.add(new Day(5, MonthConstants.FEBRUARY, 2001), new Double(1.4753));
        t1.add(new Day(6, MonthConstants.FEBRUARY, 2001), new Double(1.4605));
        t1.add(new Day(7, MonthConstants.FEBRUARY, 2001), new Double(1.4619));
        t1.add(new Day(8, MonthConstants.FEBRUARY, 2001), new Double(1.4453));
        t1.add(new Day(9, MonthConstants.FEBRUARY, 2001), new Double(1.4463));
        t1.add(new Day(12, MonthConstants.FEBRUARY, 2001), new Double(1.4521));
        t1.add(new Day(13, MonthConstants.FEBRUARY, 2001), new Double(1.4517));
        t1.add(new Day(14, MonthConstants.FEBRUARY, 2001), new Double(1.4601));
        t1.add(new Day(15, MonthConstants.FEBRUARY, 2001), new Double(1.4500));
        t1.add(new Day(16, MonthConstants.FEBRUARY, 2001), new Double(1.4517));
        t1.add(new Day(19, MonthConstants.FEBRUARY, 2001), new Double(1.4459));
        t1.add(new Day(20, MonthConstants.FEBRUARY, 2001), new Double(1.4449));
        t1.add(new Day(21, MonthConstants.FEBRUARY, 2001), new Double(1.4447));
        t1.add(new Day(22, MonthConstants.FEBRUARY, 2001), new Double(1.4465));
        t1.add(new Day(23, MonthConstants.FEBRUARY, 2001), new Double(1.4487));
        t1.add(new Day(26, MonthConstants.FEBRUARY, 2001), new Double(1.4417));
        t1.add(new Day(27, MonthConstants.FEBRUARY, 2001), new Double(1.4420));
        t1.add(new Day(28, MonthConstants.FEBRUARY, 2001), new Double(1.4421));
        t1.add(new Day(1, MonthConstants.MARCH, 2001), new Double(1.4547));
        t1.add(new Day(2, MonthConstants.MARCH, 2001), new Double(1.4741));
        t1.add(new Day(5, MonthConstants.MARCH, 2001), new Double(1.4686));
        t1.add(new Day(6, MonthConstants.MARCH, 2001), new Double(1.4667));
        t1.add(new Day(7, MonthConstants.MARCH, 2001), new Double(1.4618));
        t1.add(new Day(8, MonthConstants.MARCH, 2001), new Double(1.4685));
        t1.add(new Day(9, MonthConstants.MARCH, 2001), new Double(1.4677));
        t1.add(new Day(12, MonthConstants.MARCH, 2001), new Double(1.4660));
        t1.add(new Day(13, MonthConstants.MARCH, 2001), new Double(1.4526));
        t1.add(new Day(14, MonthConstants.MARCH, 2001), new Double(1.4483));
        t1.add(new Day(15, MonthConstants.MARCH, 2001), new Double(1.4441));
        t1.add(new Day(16, MonthConstants.MARCH, 2001), new Double(1.4303));
        t1.add(new Day(19, MonthConstants.MARCH, 2001), new Double(1.4259));
        t1.add(new Day(20, MonthConstants.MARCH, 2001), new Double(1.4283));
        t1.add(new Day(21, MonthConstants.MARCH, 2001), new Double(1.4293));
        t1.add(new Day(22, MonthConstants.MARCH, 2001), new Double(1.4192));
        t1.add(new Day(23, MonthConstants.MARCH, 2001), new Double(1.4293));
        t1.add(new Day(26, MonthConstants.MARCH, 2001), new Double(1.4334));
        t1.add(new Day(27, MonthConstants.MARCH, 2001), new Double(1.4371));
        t1.add(new Day(28, MonthConstants.MARCH, 2001), new Double(1.4347));
        t1.add(new Day(29, MonthConstants.MARCH, 2001), new Double(1.4362));
        t1.add(new Day(30, MonthConstants.MARCH, 2001), new Double(1.4217));
        t1.add(new Day(2, MonthConstants.APRIL, 2001), new Double(1.4205));
        t1.add(new Day(3, MonthConstants.APRIL, 2001), new Double(1.4270));
        t1.add(new Day(4, MonthConstants.APRIL, 2001), new Double(1.4333));
        t1.add(new Day(5, MonthConstants.APRIL, 2001), new Double(1.4287));
        t1.add(new Day(6, MonthConstants.APRIL, 2001), new Double(1.4395));
        t1.add(new Day(9, MonthConstants.APRIL, 2001), new Double(1.4494));
        t1.add(new Day(10, MonthConstants.APRIL, 2001), new Double(1.4385));
        t1.add(new Day(11, MonthConstants.APRIL, 2001), new Double(1.4348));
        t1.add(new Day(12, MonthConstants.APRIL, 2001), new Double(1.4402));
        t1.add(new Day(17, MonthConstants.APRIL, 2001), new Double(1.4314));
        t1.add(new Day(18, MonthConstants.APRIL, 2001), new Double(1.4197));
        t1.add(new Day(19, MonthConstants.APRIL, 2001), new Double(1.4365));
        t1.add(new Day(20, MonthConstants.APRIL, 2001), new Double(1.4416));
        t1.add(new Day(23, MonthConstants.APRIL, 2001), new Double(1.4396));
        t1.add(new Day(24, MonthConstants.APRIL, 2001), new Double(1.4360));
        t1.add(new Day(25, MonthConstants.APRIL, 2001), new Double(1.4397));
        t1.add(new Day(26, MonthConstants.APRIL, 2001), new Double(1.4402));
        t1.add(new Day(27, MonthConstants.APRIL, 2001), new Double(1.4366));
        t1.add(new Day(30, MonthConstants.APRIL, 2001), new Double(1.4309));
        t1.add(new Day(1, MonthConstants.MAY, 2001), new Double(1.4324));
        t1.add(new Day(2, MonthConstants.MAY, 2001), new Double(1.4336));
        t1.add(new Day(3, MonthConstants.MAY, 2001), new Double(1.4329));
        t1.add(new Day(4, MonthConstants.MAY, 2001), new Double(1.4375));
        t1.add(new Day(8, MonthConstants.MAY, 2001), new Double(1.4321));
        t1.add(new Day(9, MonthConstants.MAY, 2001), new Double(1.4219));
        t1.add(new Day(10, MonthConstants.MAY, 2001), new Double(1.4226));
        t1.add(new Day(11, MonthConstants.MAY, 2001), new Double(1.4199));
        t1.add(new Day(14, MonthConstants.MAY, 2001), new Double(1.4183));
        t1.add(new Day(15, MonthConstants.MAY, 2001), new Double(1.4218));
        t1.add(new Day(16, MonthConstants.MAY, 2001), new Double(1.4295));
        t1.add(new Day(17, MonthConstants.MAY, 2001), new Double(1.4296));
        t1.add(new Day(18, MonthConstants.MAY, 2001), new Double(1.4296));
        t1.add(new Day(21, MonthConstants.MAY, 2001), new Double(1.4366));
        t1.add(new Day(22, MonthConstants.MAY, 2001), new Double(1.4283));
        t1.add(new Day(23, MonthConstants.MAY, 2001), new Double(1.4244));
        t1.add(new Day(24, MonthConstants.MAY, 2001), new Double(1.4102));
        t1.add(new Day(25, MonthConstants.MAY, 2001), new Double(1.4205));
        t1.add(new Day(29, MonthConstants.MAY, 2001), new Double(1.4183));
        t1.add(new Day(30, MonthConstants.MAY, 2001), new Double(1.4230));
        t1.add(new Day(31, MonthConstants.MAY, 2001), new Double(1.4201));
        t1.add(new Day(1, MonthConstants.JUNE, 2001), new Double(1.4148));
        t1.add(new Day(4, MonthConstants.JUNE, 2001), new Double(1.4142));
        t1.add(new Day(5, MonthConstants.JUNE, 2001), new Double(1.4095));
        t1.add(new Day(6, MonthConstants.JUNE, 2001), new Double(1.3938));
        t1.add(new Day(7, MonthConstants.JUNE, 2001), new Double(1.3886));
        t1.add(new Day(8, MonthConstants.JUNE, 2001), new Double(1.3798));
        t1.add(new Day(11, MonthConstants.JUNE, 2001), new Double(1.3726));
        t1.add(new Day(12, MonthConstants.JUNE, 2001), new Double(1.3788));
        t1.add(new Day(13, MonthConstants.JUNE, 2001), new Double(1.3878));
        t1.add(new Day(14, MonthConstants.JUNE, 2001), new Double(1.4002));
        t1.add(new Day(15, MonthConstants.JUNE, 2001), new Double(1.4033));
        t1.add(new Day(18, MonthConstants.JUNE, 2001), new Double(1.4038));
        t1.add(new Day(19, MonthConstants.JUNE, 2001), new Double(1.4023));
        t1.add(new Day(20, MonthConstants.JUNE, 2001), new Double(1.3952));
        t1.add(new Day(21, MonthConstants.JUNE, 2001), new Double(1.4142));
        t1.add(new Day(22, MonthConstants.JUNE, 2001), new Double(1.4114));
        t1.add(new Day(25, MonthConstants.JUNE, 2001), new Double(1.4141));
        t1.add(new Day(26, MonthConstants.JUNE, 2001), new Double(1.4157));
        t1.add(new Day(27, MonthConstants.JUNE, 2001), new Double(1.4136));
        t1.add(new Day(28, MonthConstants.JUNE, 2001), new Double(1.4089));
        t1.add(new Day(29, MonthConstants.JUNE, 2001), new Double(1.4066));
        t1.add(new Day(2, MonthConstants.JULY, 2001), new Double(1.4154));
        t1.add(new Day(3, MonthConstants.JULY, 2001), new Double(1.4072));
        t1.add(new Day(4, MonthConstants.JULY, 2001), new Double(1.4064));
        t1.add(new Day(5, MonthConstants.JULY, 2001), new Double(1.3995));
        t1.add(new Day(6, MonthConstants.JULY, 2001), new Double(1.4070));
        t1.add(new Day(9, MonthConstants.JULY, 2001), new Double(1.4094));
        t1.add(new Day(10, MonthConstants.JULY, 2001), new Double(1.4113));
        t1.add(new Day(11, MonthConstants.JULY, 2001), new Double(1.4143));
        t1.add(new Day(12, MonthConstants.JULY, 2001), new Double(1.4061));
        t1.add(new Day(13, MonthConstants.JULY, 2001), new Double(1.4008));
        t1.add(new Day(16, MonthConstants.JULY, 2001), new Double(1.3999));
        t1.add(new Day(17, MonthConstants.JULY, 2001), new Double(1.4003));
        t1.add(new Day(18, MonthConstants.JULY, 2001), new Double(1.4155));
        t1.add(new Day(19, MonthConstants.JULY, 2001), new Double(1.4165));
        t1.add(new Day(20, MonthConstants.JULY, 2001), new Double(1.4282));
        t1.add(new Day(23, MonthConstants.JULY, 2001), new Double(1.4190));
        t1.add(new Day(24, MonthConstants.JULY, 2001), new Double(1.4200));
        t1.add(new Day(25, MonthConstants.JULY, 2001), new Double(1.4276));
        t1.add(new Day(26, MonthConstants.JULY, 2001), new Double(1.4275));
        t1.add(new Day(27, MonthConstants.JULY, 2001), new Double(1.4233));
        t1.add(new Day(30, MonthConstants.JULY, 2001), new Double(1.4246));
        t1.add(new Day(31, MonthConstants.JULY, 2001), new Double(1.4254));
        t1.add(new Day(1, MonthConstants.AUGUST, 2001), new Double(1.4319));
        t1.add(new Day(2, MonthConstants.AUGUST, 2001), new Double(1.4321));
        t1.add(new Day(3, MonthConstants.AUGUST, 2001), new Double(1.4293));
        t1.add(new Day(6, MonthConstants.AUGUST, 2001), new Double(1.4190));
        t1.add(new Day(7, MonthConstants.AUGUST, 2001), new Double(1.4176));
        t1.add(new Day(8, MonthConstants.AUGUST, 2001), new Double(1.4139));
        t1.add(new Day(9, MonthConstants.AUGUST, 2001), new Double(1.4214));
        t1.add(new Day(10, MonthConstants.AUGUST, 2001), new Double(1.4266));
        t1.add(new Day(11, MonthConstants.AUGUST, 2001), new Double(1.4220));
        t1.add(new Day(12, MonthConstants.AUGUST, 2001), new Double(1.4210));
        t1.add(new Day(15, MonthConstants.AUGUST, 2001), new Double(1.4383));
        t1.add(new Day(16, MonthConstants.AUGUST, 2001), new Double(1.4431));
        t1.add(new Day(17, MonthConstants.AUGUST, 2001), new Double(1.4445));
        t1.add(new Day(20, MonthConstants.AUGUST, 2001), new Double(1.4444));
        t1.add(new Day(21, MonthConstants.AUGUST, 2001), new Double(1.4483));
        t1.add(new Day(22, MonthConstants.AUGUST, 2001), new Double(1.4556));
        t1.add(new Day(23, MonthConstants.AUGUST, 2001), new Double(1.4468));
        t1.add(new Day(24, MonthConstants.AUGUST, 2001), new Double(1.4464));
        t1.add(new Day(28, MonthConstants.AUGUST, 2001), new Double(1.4483));
        t1.add(new Day(29, MonthConstants.AUGUST, 2001), new Double(1.4519));
        t1.add(new Day(30, MonthConstants.AUGUST, 2001), new Double(1.4494));
        t1.add(new Day(31, MonthConstants.AUGUST, 2001), new Double(1.4505));
        t1.add(new Day(3, MonthConstants.SEPTEMBER, 2001), new Double(1.4519));
        t1.add(new Day(4, MonthConstants.SEPTEMBER, 2001), new Double(1.4460));
        t1.add(new Day(5, MonthConstants.SEPTEMBER, 2001), new Double(1.4526));
        t1.add(new Day(6, MonthConstants.SEPTEMBER, 2001), new Double(1.4527));
        t1.add(new Day(7, MonthConstants.SEPTEMBER, 2001), new Double(1.4617));
        t1.add(new Day(10, MonthConstants.SEPTEMBER, 2001), new Double(1.4583));
        t1.add(new Day(11, MonthConstants.SEPTEMBER, 2001), new Double(1.4693));
        t1.add(new Day(12, MonthConstants.SEPTEMBER, 2001), new Double(1.4633));
        t1.add(new Day(13, MonthConstants.SEPTEMBER, 2001), new Double(1.4690));
        t1.add(new Day(14, MonthConstants.SEPTEMBER, 2001), new Double(1.4691));
        t1.add(new Day(17, MonthConstants.SEPTEMBER, 2001), new Double(1.4668));
        t1.add(new Day(18, MonthConstants.SEPTEMBER, 2001), new Double(1.4624));
        t1.add(new Day(19, MonthConstants.SEPTEMBER, 2001), new Double(1.4678));
        t1.add(new Day(20, MonthConstants.SEPTEMBER, 2001), new Double(1.4657));
        t1.add(new Day(21, MonthConstants.SEPTEMBER, 2001), new Double(1.4575));
        t1.add(new Day(24, MonthConstants.SEPTEMBER, 2001), new Double(1.4646));
        t1.add(new Day(25, MonthConstants.SEPTEMBER, 2001), new Double(1.4699));
        t1.add(new Day(26, MonthConstants.SEPTEMBER, 2001), new Double(1.4749));
        t1.add(new Day(27, MonthConstants.SEPTEMBER, 2001), new Double(1.4756));
        t1.add(new Day(28, MonthConstants.SEPTEMBER, 2001), new Double(1.4699));
        t1.add(new Day(1, MonthConstants.OCTOBER, 2001), new Double(1.4784));
        t1.add(new Day(2, MonthConstants.OCTOBER, 2001), new Double(1.4661));
        t1.add(new Day(3, MonthConstants.OCTOBER, 2001), new Double(1.4767));
        t1.add(new Day(4, MonthConstants.OCTOBER, 2001), new Double(1.4770));
        t1.add(new Day(5, MonthConstants.OCTOBER, 2001), new Double(1.4810));
        t1.add(new Day(8, MonthConstants.OCTOBER, 2001), new Double(1.4743));
        t1.add(new Day(9, MonthConstants.OCTOBER, 2001), new Double(1.4667));
        t1.add(new Day(10, MonthConstants.OCTOBER, 2001), new Double(1.4505));
        t1.add(new Day(11, MonthConstants.OCTOBER, 2001), new Double(1.4434));
        t1.add(new Day(12, MonthConstants.OCTOBER, 2001), new Double(1.4504));
        t1.add(new Day(15, MonthConstants.OCTOBER, 2001), new Double(1.4471));
        t1.add(new Day(16, MonthConstants.OCTOBER, 2001), new Double(1.4474));
        t1.add(new Day(17, MonthConstants.OCTOBER, 2001), new Double(1.4512));
        t1.add(new Day(18, MonthConstants.OCTOBER, 2001), new Double(1.4445));
        t1.add(new Day(19, MonthConstants.OCTOBER, 2001), new Double(1.4384));
        t1.add(new Day(22, MonthConstants.OCTOBER, 2001), new Double(1.4275));
        t1.add(new Day(23, MonthConstants.OCTOBER, 2001), new Double(1.4212));
        t1.add(new Day(24, MonthConstants.OCTOBER, 2001), new Double(1.4233));
        t1.add(new Day(25, MonthConstants.OCTOBER, 2001), new Double(1.4297));
        t1.add(new Day(26, MonthConstants.OCTOBER, 2001), new Double(1.4328));
        t1.add(new Day(29, MonthConstants.OCTOBER, 2001), new Double(1.4515));
        t1.add(new Day(30, MonthConstants.OCTOBER, 2001), new Double(1.4564));
        t1.add(new Day(31, MonthConstants.OCTOBER, 2001), new Double(1.4541));
        t1.add(new Day(1, MonthConstants.NOVEMBER, 2001), new Double(1.4624));
        t1.add(new Day(2, MonthConstants.NOVEMBER, 2001), new Double(1.4632));
        t1.add(new Day(5, MonthConstants.NOVEMBER, 2001), new Double(1.4570));
        t1.add(new Day(6, MonthConstants.NOVEMBER, 2001), new Double(1.4588));
        t1.add(new Day(7, MonthConstants.NOVEMBER, 2001), new Double(1.4646));
        t1.add(new Day(8, MonthConstants.NOVEMBER, 2001), new Double(1.4552));
        t1.add(new Day(9, MonthConstants.NOVEMBER, 2001), new Double(1.4579));
        t1.add(new Day(12, MonthConstants.NOVEMBER, 2001), new Double(1.4575));
        t1.add(new Day(13, MonthConstants.NOVEMBER, 2001), new Double(1.4429));
        t1.add(new Day(14, MonthConstants.NOVEMBER, 2001), new Double(1.4425));
        t1.add(new Day(15, MonthConstants.NOVEMBER, 2001), new Double(1.4318));
        t1.add(new Day(16, MonthConstants.NOVEMBER, 2001), new Double(1.4291));
        t1.add(new Day(19, MonthConstants.NOVEMBER, 2001), new Double(1.4140));
        t1.add(new Day(20, MonthConstants.NOVEMBER, 2001), new Double(1.4173));
        t1.add(new Day(21, MonthConstants.NOVEMBER, 2001), new Double(1.4132));
        t1.add(new Day(22, MonthConstants.NOVEMBER, 2001), new Double(1.4131));
        t1.add(new Day(23, MonthConstants.NOVEMBER, 2001), new Double(1.4083));
        t1.add(new Day(26, MonthConstants.NOVEMBER, 2001), new Double(1.4122));
        t1.add(new Day(27, MonthConstants.NOVEMBER, 2001), new Double(1.4136));
        t1.add(new Day(28, MonthConstants.NOVEMBER, 2001), new Double(1.4239));
        t1.add(new Day(29, MonthConstants.NOVEMBER, 2001), new Double(1.4225));
        t1.add(new Day(30, MonthConstants.NOVEMBER, 2001), new Double(1.4260));
    } catch (Exception e) {
        System.err.println(e.getMessage());
    }
    return t1;
}