// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 

package demo;

import java.awt.*;
import java.text.SimpleDateFormat;
import javax.swing.JPanel;
import org.jfree.chart.*;
import org.jfree.chart.axis.DateAxis;
import org.jfree.chart.axis.DateTickMarkPosition;
import org.jfree.chart.labels.StandardXYToolTipGenerator;
import org.jfree.chart.plot.IntervalMarker;
import org.jfree.chart.plot.XYPlot;
import org.jfree.chart.renderer.xy.XYDifferenceRenderer;
import org.jfree.chart.title.TextTitle;
import org.jfree.data.time.*;
import org.jfree.data.xy.XYDataset;
import org.jfree.ui.*;

public class DifferenceChartDemo2 extends ApplicationFrame
{

	public DifferenceChartDemo2(String s)
	{
		super(s);
		JPanel jpanel = createDemoPanel();
		jpanel.setPreferredSize(new Dimension(500, 270));
		setContentPane(jpanel);
	}

	private static XYDataset createDataset()
	{
		TimeSeries timeseries = createSunriseSeries();
		TimeSeries timeseries1 = createSunsetSeries();
		TimeSeriesCollection timeseriescollection = new TimeSeriesCollection();
		timeseriescollection.addSeries(timeseries);
		timeseriescollection.addSeries(timeseries1);
		return timeseriescollection;
	}

	private static Long time(int i, int j)
	{
		Minute minute = new Minute(j, i, 1, 1, 1970);
		return new Long(minute.getFirstMillisecond());
	}

	public static TimeSeries createSunriseSeries()
	{
		TimeSeries timeseries = new TimeSeries("Sunrise");
		timeseries.add(new Day(1, 1, 2004), time(8, 5));
		timeseries.add(new Day(2, 1, 2004), time(8, 5));
		timeseries.add(new Day(3, 1, 2004), time(8, 5));
		timeseries.add(new Day(4, 1, 2004), time(8, 5));
		timeseries.add(new Day(5, 1, 2004), time(8, 5));
		timeseries.add(new Day(6, 1, 2004), time(8, 4));
		timeseries.add(new Day(7, 1, 2004), time(8, 4));
		timeseries.add(new Day(8, 1, 2004), time(8, 4));
		timeseries.add(new Day(9, 1, 2004), time(8, 3));
		timeseries.add(new Day(10, 1, 2004), time(8, 3));
		timeseries.add(new Day(11, 1, 2004), time(8, 2));
		timeseries.add(new Day(12, 1, 2004), time(8, 1));
		timeseries.add(new Day(13, 1, 2004), time(8, 1));
		timeseries.add(new Day(14, 1, 2004), time(8, 0));
		timeseries.add(new Day(15, 1, 2004), time(7, 59));
		timeseries.add(new Day(16, 1, 2004), time(7, 58));
		timeseries.add(new Day(17, 1, 2004), time(7, 58));
		timeseries.add(new Day(18, 1, 2004), time(7, 57));
		timeseries.add(new Day(19, 1, 2004), time(7, 56));
		timeseries.add(new Day(20, 1, 2004), time(7, 55));
		timeseries.add(new Day(21, 1, 2004), time(7, 54));
		timeseries.add(new Day(22, 1, 2004), time(7, 53));
		timeseries.add(new Day(23, 1, 2004), time(7, 51));
		timeseries.add(new Day(24, 1, 2004), time(7, 50));
		timeseries.add(new Day(25, 1, 2004), time(7, 49));
		timeseries.add(new Day(26, 1, 2004), time(7, 48));
		timeseries.add(new Day(27, 1, 2004), time(7, 46));
		timeseries.add(new Day(28, 1, 2004), time(7, 45));
		timeseries.add(new Day(29, 1, 2004), time(7, 44));
		timeseries.add(new Day(30, 1, 2004), time(7, 42));
		timeseries.add(new Day(31, 1, 2004), time(7, 41));
		timeseries.add(new Day(1, 2, 2004), time(7, 39));
		timeseries.add(new Day(2, 2, 2004), time(7, 38));
		timeseries.add(new Day(3, 2, 2004), time(7, 36));
		timeseries.add(new Day(4, 2, 2004), time(7, 35));
		timeseries.add(new Day(5, 2, 2004), time(7, 33));
		timeseries.add(new Day(6, 2, 2004), time(7, 31));
		timeseries.add(new Day(7, 2, 2004), time(7, 30));
		timeseries.add(new Day(8, 2, 2004), time(7, 28));
		timeseries.add(new Day(9, 2, 2004), time(7, 26));
		timeseries.add(new Day(10, 2, 2004), time(7, 25));
		timeseries.add(new Day(11, 2, 2004), time(7, 23));
		timeseries.add(new Day(12, 2, 2004), time(7, 21));
		timeseries.add(new Day(13, 2, 2004), time(7, 19));
		timeseries.add(new Day(14, 2, 2004), time(7, 17));
		timeseries.add(new Day(15, 2, 2004), time(7, 15));
		timeseries.add(new Day(16, 2, 2004), time(7, 13));
		timeseries.add(new Day(17, 2, 2004), time(7, 11));
		timeseries.add(new Day(18, 2, 2004), time(7, 10));
		timeseries.add(new Day(19, 2, 2004), time(7, 8));
		timeseries.add(new Day(20, 2, 2004), time(7, 6));
		timeseries.add(new Day(21, 2, 2004), time(7, 4));
		timeseries.add(new Day(22, 2, 2004), time(7, 2));
		timeseries.add(new Day(23, 2, 2004), time(6, 59));
		timeseries.add(new Day(24, 2, 2004), time(6, 57));
		timeseries.add(new Day(25, 2, 2004), time(6, 55));
		timeseries.add(new Day(26, 2, 2004), time(6, 53));
		timeseries.add(new Day(27, 2, 2004), time(6, 51));
		timeseries.add(new Day(28, 2, 2004), time(6, 49));
		timeseries.add(new Day(29, 2, 2004), time(6, 47));
		timeseries.add(new Day(1, 3, 2004), time(6, 45));
		timeseries.add(new Day(2, 3, 2004), time(6, 43));
		timeseries.add(new Day(3, 3, 2004), time(6, 40));
		timeseries.add(new Day(4, 3, 2004), time(6, 38));
		timeseries.add(new Day(5, 3, 2004), time(6, 36));
		timeseries.add(new Day(6, 3, 2004), time(6, 34));
		timeseries.add(new Day(7, 3, 2004), time(6, 32));
		timeseries.add(new Day(8, 3, 2004), time(6, 29));
		timeseries.add(new Day(9, 3, 2004), time(6, 27));
		timeseries.add(new Day(10, 3, 2004), time(6, 25));
		timeseries.add(new Day(11, 3, 2004), time(6, 23));
		timeseries.add(new Day(12, 3, 2004), time(6, 20));
		timeseries.add(new Day(13, 3, 2004), time(6, 18));
		timeseries.add(new Day(14, 3, 2004), time(6, 16));
		timeseries.add(new Day(15, 3, 2004), time(6, 14));
		timeseries.add(new Day(16, 3, 2004), time(6, 11));
		timeseries.add(new Day(17, 3, 2004), time(6, 9));
		timeseries.add(new Day(18, 3, 2004), time(6, 7));
		timeseries.add(new Day(19, 3, 2004), time(6, 5));
		timeseries.add(new Day(20, 3, 2004), time(6, 2));
		timeseries.add(new Day(21, 3, 2004), time(6, 0));
		timeseries.add(new Day(22, 3, 2004), time(5, 58));
		timeseries.add(new Day(23, 3, 2004), time(5, 55));
		timeseries.add(new Day(24, 3, 2004), time(5, 53));
		timeseries.add(new Day(25, 3, 2004), time(5, 51));
		timeseries.add(new Day(26, 3, 2004), time(5, 49));
		timeseries.add(new Day(27, 3, 2004), time(5, 46));
		timeseries.add(new Day(28, 3, 2004), time(6, 44));
		timeseries.add(new Day(29, 3, 2004), time(6, 42));
		timeseries.add(new Day(30, 3, 2004), time(6, 39));
		timeseries.add(new Day(31, 3, 2004), time(6, 37));
		timeseries.add(new Day(1, 4, 2004), time(6, 35));
		timeseries.add(new Day(2, 4, 2004), time(6, 33));
		timeseries.add(new Day(3, 4, 2004), time(6, 30));
		timeseries.add(new Day(4, 4, 2004), time(6, 28));
		timeseries.add(new Day(5, 4, 2004), time(6, 26));
		timeseries.add(new Day(6, 4, 2004), time(6, 24));
		timeseries.add(new Day(7, 4, 2004), time(6, 21));
		timeseries.add(new Day(8, 4, 2004), time(6, 19));
		timeseries.add(new Day(9, 4, 2004), time(6, 17));
		timeseries.add(new Day(10, 4, 2004), time(6, 15));
		timeseries.add(new Day(11, 4, 2004), time(6, 12));
		timeseries.add(new Day(12, 4, 2004), time(6, 10));
		timeseries.add(new Day(13, 4, 2004), time(6, 8));
		timeseries.add(new Day(14, 4, 2004), time(6, 6));
		timeseries.add(new Day(15, 4, 2004), time(6, 4));
		timeseries.add(new Day(16, 4, 2004), time(6, 2));
		timeseries.add(new Day(17, 4, 2004), time(5, 59));
		timeseries.add(new Day(18, 4, 2004), time(5, 57));
		timeseries.add(new Day(19, 4, 2004), time(5, 55));
		timeseries.add(new Day(20, 4, 2004), time(5, 53));
		timeseries.add(new Day(21, 4, 2004), time(5, 51));
		timeseries.add(new Day(22, 4, 2004), time(5, 49));
		timeseries.add(new Day(23, 4, 2004), time(5, 47));
		timeseries.add(new Day(24, 4, 2004), time(5, 45));
		timeseries.add(new Day(25, 4, 2004), time(5, 43));
		timeseries.add(new Day(26, 4, 2004), time(5, 41));
		timeseries.add(new Day(27, 4, 2004), time(5, 39));
		timeseries.add(new Day(28, 4, 2004), time(5, 37));
		timeseries.add(new Day(29, 4, 2004), time(5, 35));
		timeseries.add(new Day(30, 4, 2004), time(5, 33));
		timeseries.add(new Day(1, 5, 2004), time(5, 31));
		timeseries.add(new Day(2, 5, 2004), time(5, 29));
		timeseries.add(new Day(3, 5, 2004), time(5, 28));
		timeseries.add(new Day(4, 5, 2004), time(5, 26));
		timeseries.add(new Day(5, 5, 2004), time(5, 24));
		timeseries.add(new Day(6, 5, 2004), time(5, 22));
		timeseries.add(new Day(7, 5, 2004), time(5, 20));
		timeseries.add(new Day(8, 5, 2004), time(5, 19));
		timeseries.add(new Day(9, 5, 2004), time(5, 17));
		timeseries.add(new Day(10, 5, 2004), time(5, 15));
		timeseries.add(new Day(11, 5, 2004), time(5, 14));
		timeseries.add(new Day(12, 5, 2004), time(5, 12));
		timeseries.add(new Day(13, 5, 2004), time(5, 11));
		timeseries.add(new Day(14, 5, 2004), time(5, 9));
		timeseries.add(new Day(15, 5, 2004), time(5, 8));
		timeseries.add(new Day(16, 5, 2004), time(5, 6));
		timeseries.add(new Day(17, 5, 2004), time(5, 5));
		timeseries.add(new Day(18, 5, 2004), time(5, 3));
		timeseries.add(new Day(19, 5, 2004), time(5, 2));
		timeseries.add(new Day(20, 5, 2004), time(5, 1));
		timeseries.add(new Day(21, 5, 2004), time(4, 59));
		timeseries.add(new Day(22, 5, 2004), time(4, 58));
		timeseries.add(new Day(23, 5, 2004), time(4, 57));
		timeseries.add(new Day(24, 5, 2004), time(4, 56));
		timeseries.add(new Day(25, 5, 2004), time(4, 55));
		timeseries.add(new Day(26, 5, 2004), time(4, 53));
		timeseries.add(new Day(27, 5, 2004), time(4, 52));
		timeseries.add(new Day(28, 5, 2004), time(4, 51));
		timeseries.add(new Day(29, 5, 2004), time(4, 50));
		timeseries.add(new Day(30, 5, 2004), time(4, 50));
		timeseries.add(new Day(31, 5, 2004), time(4, 49));
		timeseries.add(new Day(1, 6, 2004), time(4, 48));
		timeseries.add(new Day(2, 6, 2004), time(4, 47));
		timeseries.add(new Day(3, 6, 2004), time(4, 46));
		timeseries.add(new Day(4, 6, 2004), time(4, 46));
		timeseries.add(new Day(5, 6, 2004), time(4, 45));
		timeseries.add(new Day(6, 6, 2004), time(4, 45));
		timeseries.add(new Day(7, 6, 2004), time(4, 44));
		timeseries.add(new Day(8, 6, 2004), time(4, 44));
		timeseries.add(new Day(9, 6, 2004), time(4, 43));
		timeseries.add(new Day(10, 6, 2004), time(4, 43));
		timeseries.add(new Day(11, 6, 2004), time(4, 42));
		timeseries.add(new Day(12, 6, 2004), time(4, 42));
		timeseries.add(new Day(13, 6, 2004), time(4, 42));
		timeseries.add(new Day(14, 6, 2004), time(4, 42));
		timeseries.add(new Day(15, 6, 2004), time(4, 42));
		timeseries.add(new Day(16, 6, 2004), time(4, 42));
		timeseries.add(new Day(17, 6, 2004), time(4, 42));
		timeseries.add(new Day(18, 6, 2004), time(4, 42));
		timeseries.add(new Day(19, 6, 2004), time(4, 42));
		timeseries.add(new Day(20, 6, 2004), time(4, 42));
		timeseries.add(new Day(21, 6, 2004), time(4, 42));
		timeseries.add(new Day(22, 6, 2004), time(4, 42));
		timeseries.add(new Day(23, 6, 2004), time(4, 43));
		timeseries.add(new Day(24, 6, 2004), time(4, 43));
		timeseries.add(new Day(25, 6, 2004), time(4, 43));
		timeseries.add(new Day(26, 6, 2004), time(4, 44));
		timeseries.add(new Day(27, 6, 2004), time(4, 44));
		timeseries.add(new Day(28, 6, 2004), time(4, 45));
		timeseries.add(new Day(29, 6, 2004), time(4, 45));
		timeseries.add(new Day(30, 6, 2004), time(4, 46));
		timeseries.add(new Day(1, 7, 2004), time(4, 47));
		timeseries.add(new Day(2, 7, 2004), time(4, 47));
		timeseries.add(new Day(3, 7, 2004), time(4, 48));
		timeseries.add(new Day(4, 7, 2004), time(4, 49));
		timeseries.add(new Day(5, 7, 2004), time(4, 50));
		timeseries.add(new Day(6, 7, 2004), time(4, 51));
		timeseries.add(new Day(7, 7, 2004), time(4, 51));
		timeseries.add(new Day(8, 7, 2004), time(4, 52));
		timeseries.add(new Day(9, 7, 2004), time(4, 53));
		timeseries.add(new Day(10, 7, 2004), time(4, 54));
		timeseries.add(new Day(11, 7, 2004), time(4, 55));
		timeseries.add(new Day(12, 7, 2004), time(4, 57));
		timeseries.add(new Day(13, 7, 2004), time(4, 58));
		timeseries.add(new Day(14, 7, 2004), time(4, 59));
		timeseries.add(new Day(15, 7, 2004), time(5, 0));
		timeseries.add(new Day(16, 7, 2004), time(5, 1));
		timeseries.add(new Day(17, 7, 2004), time(5, 2));
		timeseries.add(new Day(18, 7, 2004), time(5, 4));
		timeseries.add(new Day(19, 7, 2004), time(5, 5));
		timeseries.add(new Day(20, 7, 2004), time(5, 6));
		timeseries.add(new Day(21, 7, 2004), time(5, 8));
		timeseries.add(new Day(22, 7, 2004), time(5, 9));
		timeseries.add(new Day(23, 7, 2004), time(5, 10));
		timeseries.add(new Day(24, 7, 2004), time(5, 12));
		timeseries.add(new Day(25, 7, 2004), time(5, 13));
		timeseries.add(new Day(26, 7, 2004), time(5, 14));
		timeseries.add(new Day(27, 7, 2004), time(5, 16));
		timeseries.add(new Day(28, 7, 2004), time(5, 17));
		timeseries.add(new Day(29, 7, 2004), time(5, 19));
		timeseries.add(new Day(30, 7, 2004), time(5, 20));
		timeseries.add(new Day(31, 7, 2004), time(5, 22));
		timeseries.add(new Day(1, 8, 2004), time(5, 23));
		timeseries.add(new Day(2, 8, 2004), time(5, 25));
		timeseries.add(new Day(3, 8, 2004), time(5, 26));
		timeseries.add(new Day(4, 8, 2004), time(5, 28));
		timeseries.add(new Day(5, 8, 2004), time(5, 29));
		timeseries.add(new Day(6, 8, 2004), time(5, 31));
		timeseries.add(new Day(7, 8, 2004), time(5, 32));
		timeseries.add(new Day(8, 8, 2004), time(5, 34));
		timeseries.add(new Day(9, 8, 2004), time(5, 36));
		timeseries.add(new Day(10, 8, 2004), time(5, 37));
		timeseries.add(new Day(11, 8, 2004), time(5, 39));
		timeseries.add(new Day(12, 8, 2004), time(5, 40));
		timeseries.add(new Day(13, 8, 2004), time(5, 42));
		timeseries.add(new Day(14, 8, 2004), time(5, 43));
		timeseries.add(new Day(15, 8, 2004), time(5, 45));
		timeseries.add(new Day(16, 8, 2004), time(5, 47));
		timeseries.add(new Day(17, 8, 2004), time(5, 48));
		timeseries.add(new Day(18, 8, 2004), time(5, 50));
		timeseries.add(new Day(19, 8, 2004), time(5, 51));
		timeseries.add(new Day(20, 8, 2004), time(5, 53));
		timeseries.add(new Day(21, 8, 2004), time(5, 55));
		timeseries.add(new Day(22, 8, 2004), time(5, 56));
		timeseries.add(new Day(23, 8, 2004), time(5, 58));
		timeseries.add(new Day(24, 8, 2004), time(5, 59));
		timeseries.add(new Day(25, 8, 2004), time(6, 1));
		timeseries.add(new Day(26, 8, 2004), time(6, 3));
		timeseries.add(new Day(27, 8, 2004), time(6, 4));
		timeseries.add(new Day(28, 8, 2004), time(6, 6));
		timeseries.add(new Day(29, 8, 2004), time(6, 7));
		timeseries.add(new Day(30, 8, 2004), time(6, 9));
		timeseries.add(new Day(31, 8, 2004), time(6, 10));
		timeseries.add(new Day(1, 9, 2004), time(6, 12));
		timeseries.add(new Day(2, 9, 2004), time(6, 14));
		timeseries.add(new Day(3, 9, 2004), time(6, 15));
		timeseries.add(new Day(4, 9, 2004), time(6, 17));
		timeseries.add(new Day(5, 9, 2004), time(6, 18));
		timeseries.add(new Day(6, 9, 2004), time(6, 20));
		timeseries.add(new Day(7, 9, 2004), time(6, 22));
		timeseries.add(new Day(8, 9, 2004), time(6, 23));
		timeseries.add(new Day(9, 9, 2004), time(6, 25));
		timeseries.add(new Day(10, 9, 2004), time(6, 26));
		timeseries.add(new Day(11, 9, 2004), time(6, 28));
		timeseries.add(new Day(12, 9, 2004), time(6, 30));
		timeseries.add(new Day(13, 9, 2004), time(6, 31));
		timeseries.add(new Day(14, 9, 2004), time(6, 33));
		timeseries.add(new Day(15, 9, 2004), time(6, 34));
		timeseries.add(new Day(16, 9, 2004), time(6, 36));
		timeseries.add(new Day(17, 9, 2004), time(6, 38));
		timeseries.add(new Day(18, 9, 2004), time(6, 39));
		timeseries.add(new Day(19, 9, 2004), time(6, 41));
		timeseries.add(new Day(20, 9, 2004), time(6, 42));
		timeseries.add(new Day(21, 9, 2004), time(6, 44));
		timeseries.add(new Day(22, 9, 2004), time(6, 46));
		timeseries.add(new Day(23, 9, 2004), time(6, 47));
		timeseries.add(new Day(24, 9, 2004), time(6, 49));
		timeseries.add(new Day(25, 9, 2004), time(6, 50));
		timeseries.add(new Day(26, 9, 2004), time(6, 52));
		timeseries.add(new Day(27, 9, 2004), time(6, 54));
		timeseries.add(new Day(28, 9, 2004), time(6, 55));
		timeseries.add(new Day(29, 9, 2004), time(6, 57));
		timeseries.add(new Day(30, 9, 2004), time(6, 58));
		timeseries.add(new Day(1, 10, 2004), time(7, 0));
		timeseries.add(new Day(2, 10, 2004), time(7, 2));
		timeseries.add(new Day(3, 10, 2004), time(7, 3));
		timeseries.add(new Day(4, 10, 2004), time(7, 5));
		timeseries.add(new Day(5, 10, 2004), time(7, 7));
		timeseries.add(new Day(6, 10, 2004), time(7, 8));
		timeseries.add(new Day(7, 10, 2004), time(7, 10));
		timeseries.add(new Day(8, 10, 2004), time(7, 12));
		timeseries.add(new Day(9, 10, 2004), time(7, 13));
		timeseries.add(new Day(10, 10, 2004), time(7, 15));
		timeseries.add(new Day(11, 10, 2004), time(7, 17));
		timeseries.add(new Day(12, 10, 2004), time(7, 18));
		timeseries.add(new Day(13, 10, 2004), time(7, 20));
		timeseries.add(new Day(14, 10, 2004), time(7, 22));
		timeseries.add(new Day(15, 10, 2004), time(7, 23));
		timeseries.add(new Day(16, 10, 2004), time(7, 25));
		timeseries.add(new Day(17, 10, 2004), time(7, 27));
		timeseries.add(new Day(18, 10, 2004), time(7, 29));
		timeseries.add(new Day(19, 10, 2004), time(7, 30));
		timeseries.add(new Day(20, 10, 2004), time(7, 32));
		timeseries.add(new Day(21, 10, 2004), time(7, 34));
		timeseries.add(new Day(22, 10, 2004), time(7, 35));
		timeseries.add(new Day(23, 10, 2004), time(7, 37));
		timeseries.add(new Day(24, 10, 2004), time(7, 39));
		timeseries.add(new Day(25, 10, 2004), time(7, 41));
		timeseries.add(new Day(26, 10, 2004), time(7, 42));
		timeseries.add(new Day(27, 10, 2004), time(7, 44));
		timeseries.add(new Day(28, 10, 2004), time(7, 46));
		timeseries.add(new Day(29, 10, 2004), time(7, 48));
		timeseries.add(new Day(30, 10, 2004), time(7, 49));
		timeseries.add(new Day(31, 10, 2004), time(6, 51));
		timeseries.add(new Day(1, 11, 2004), time(6, 53));
		timeseries.add(new Day(2, 11, 2004), time(6, 55));
		timeseries.add(new Day(3, 11, 2004), time(6, 57));
		timeseries.add(new Day(4, 11, 2004), time(6, 58));
		timeseries.add(new Day(5, 11, 2004), time(7, 0));
		timeseries.add(new Day(6, 11, 2004), time(7, 2));
		timeseries.add(new Day(7, 11, 2004), time(7, 4));
		timeseries.add(new Day(8, 11, 2004), time(7, 5));
		timeseries.add(new Day(9, 11, 2004), time(7, 7));
		timeseries.add(new Day(10, 11, 2004), time(7, 9));
		timeseries.add(new Day(11, 11, 2004), time(7, 11));
		timeseries.add(new Day(12, 11, 2004), time(7, 12));
		timeseries.add(new Day(13, 11, 2004), time(7, 14));
		timeseries.add(new Day(14, 11, 2004), time(7, 16));
		timeseries.add(new Day(15, 11, 2004), time(7, 17));
		timeseries.add(new Day(16, 11, 2004), time(7, 19));
		timeseries.add(new Day(17, 11, 2004), time(7, 21));
		timeseries.add(new Day(18, 11, 2004), time(7, 23));
		timeseries.add(new Day(19, 11, 2004), time(7, 24));
		timeseries.add(new Day(20, 11, 2004), time(7, 26));
		timeseries.add(new Day(21, 11, 2004), time(7, 28));
		timeseries.add(new Day(22, 11, 2004), time(7, 29));
		timeseries.add(new Day(23, 11, 2004), time(7, 31));
		timeseries.add(new Day(24, 11, 2004), time(7, 32));
		timeseries.add(new Day(25, 11, 2004), time(7, 34));
		timeseries.add(new Day(26, 11, 2004), time(7, 35));
		timeseries.add(new Day(27, 11, 2004), time(7, 37));
		timeseries.add(new Day(28, 11, 2004), time(7, 38));
		timeseries.add(new Day(29, 11, 2004), time(7, 40));
		timeseries.add(new Day(30, 11, 2004), time(7, 41));
		timeseries.add(new Day(1, 12, 2004), time(7, 43));
		timeseries.add(new Day(2, 12, 2004), time(7, 44));
		timeseries.add(new Day(3, 12, 2004), time(7, 45));
		timeseries.add(new Day(4, 12, 2004), time(7, 47));
		timeseries.add(new Day(5, 12, 2004), time(7, 48));
		timeseries.add(new Day(6, 12, 2004), time(7, 49));
		timeseries.add(new Day(7, 12, 2004), time(7, 51));
		timeseries.add(new Day(8, 12, 2004), time(7, 52));
		timeseries.add(new Day(9, 12, 2004), time(7, 53));
		timeseries.add(new Day(10, 12, 2004), time(7, 54));
		timeseries.add(new Day(11, 12, 2004), time(7, 55));
		timeseries.add(new Day(12, 12, 2004), time(7, 56));
		timeseries.add(new Day(13, 12, 2004), time(7, 57));
		timeseries.add(new Day(14, 12, 2004), time(7, 58));
		timeseries.add(new Day(15, 12, 2004), time(7, 59));
		timeseries.add(new Day(16, 12, 2004), time(7, 59));
		timeseries.add(new Day(17, 12, 2004), time(8, 0));
		timeseries.add(new Day(18, 12, 2004), time(8, 1));
		timeseries.add(new Day(19, 12, 2004), time(8, 2));
		timeseries.add(new Day(20, 12, 2004), time(8, 2));
		timeseries.add(new Day(21, 12, 2004), time(8, 3));
		timeseries.add(new Day(22, 12, 2004), time(8, 3));
		timeseries.add(new Day(23, 12, 2004), time(8, 4));
		timeseries.add(new Day(24, 12, 2004), time(8, 4));
		timeseries.add(new Day(25, 12, 2004), time(8, 4));
		timeseries.add(new Day(26, 12, 2004), time(8, 5));
		timeseries.add(new Day(27, 12, 2004), time(8, 5));
		timeseries.add(new Day(28, 12, 2004), time(8, 5));
		timeseries.add(new Day(29, 12, 2004), time(8, 5));
		timeseries.add(new Day(30, 12, 2004), time(8, 5));
		timeseries.add(new Day(31, 12, 2004), time(8, 5));
		return timeseries;
	}

	public static TimeSeries createSunsetSeries()
	{
		TimeSeries timeseries = new TimeSeries("Sunset");
		timeseries.add(new Day(1, 1, 2004), time(16, 0));
		timeseries.add(new Day(2, 1, 2004), time(16, 1));
		timeseries.add(new Day(3, 1, 2004), time(16, 2));
		timeseries.add(new Day(4, 1, 2004), time(16, 3));
		timeseries.add(new Day(5, 1, 2004), time(16, 4));
		timeseries.add(new Day(6, 1, 2004), time(16, 5));
		timeseries.add(new Day(7, 1, 2004), time(16, 7));
		timeseries.add(new Day(8, 1, 2004), time(16, 8));
		timeseries.add(new Day(9, 1, 2004), time(16, 9));
		timeseries.add(new Day(10, 1, 2004), time(16, 11));
		timeseries.add(new Day(11, 1, 2004), time(16, 12));
		timeseries.add(new Day(12, 1, 2004), time(16, 13));
		timeseries.add(new Day(13, 1, 2004), time(16, 15));
		timeseries.add(new Day(14, 1, 2004), time(16, 16));
		timeseries.add(new Day(15, 1, 2004), time(16, 18));
		timeseries.add(new Day(16, 1, 2004), time(16, 19));
		timeseries.add(new Day(17, 1, 2004), time(16, 21));
		timeseries.add(new Day(18, 1, 2004), time(16, 22));
		timeseries.add(new Day(19, 1, 2004), time(16, 24));
		timeseries.add(new Day(20, 1, 2004), time(16, 26));
		timeseries.add(new Day(21, 1, 2004), time(16, 27));
		timeseries.add(new Day(22, 1, 2004), time(16, 29));
		timeseries.add(new Day(23, 1, 2004), time(16, 31));
		timeseries.add(new Day(24, 1, 2004), time(16, 32));
		timeseries.add(new Day(25, 1, 2004), time(16, 34));
		timeseries.add(new Day(26, 1, 2004), time(16, 36));
		timeseries.add(new Day(27, 1, 2004), time(16, 38));
		timeseries.add(new Day(28, 1, 2004), time(16, 39));
		timeseries.add(new Day(29, 1, 2004), time(16, 41));
		timeseries.add(new Day(30, 1, 2004), time(16, 43));
		timeseries.add(new Day(31, 1, 2004), time(16, 45));
		timeseries.add(new Day(1, 2, 2004), time(16, 47));
		timeseries.add(new Day(2, 2, 2004), time(16, 48));
		timeseries.add(new Day(3, 2, 2004), time(16, 50));
		timeseries.add(new Day(4, 2, 2004), time(16, 52));
		timeseries.add(new Day(5, 2, 2004), time(16, 54));
		timeseries.add(new Day(6, 2, 2004), time(16, 56));
		timeseries.add(new Day(7, 2, 2004), time(16, 57));
		timeseries.add(new Day(8, 2, 2004), time(16, 59));
		timeseries.add(new Day(9, 2, 2004), time(17, 1));
		timeseries.add(new Day(10, 2, 2004), time(17, 3));
		timeseries.add(new Day(11, 2, 2004), time(17, 5));
		timeseries.add(new Day(12, 2, 2004), time(17, 7));
		timeseries.add(new Day(13, 2, 2004), time(17, 8));
		timeseries.add(new Day(14, 2, 2004), time(17, 10));
		timeseries.add(new Day(15, 2, 2004), time(17, 12));
		timeseries.add(new Day(16, 2, 2004), time(17, 14));
		timeseries.add(new Day(17, 2, 2004), time(17, 16));
		timeseries.add(new Day(18, 2, 2004), time(17, 17));
		timeseries.add(new Day(19, 2, 2004), time(17, 19));
		timeseries.add(new Day(20, 2, 2004), time(17, 21));
		timeseries.add(new Day(21, 2, 2004), time(17, 23));
		timeseries.add(new Day(22, 2, 2004), time(17, 25));
		timeseries.add(new Day(23, 2, 2004), time(17, 27));
		timeseries.add(new Day(24, 2, 2004), time(17, 28));
		timeseries.add(new Day(25, 2, 2004), time(17, 30));
		timeseries.add(new Day(26, 2, 2004), time(17, 32));
		timeseries.add(new Day(27, 2, 2004), time(17, 34));
		timeseries.add(new Day(28, 2, 2004), time(17, 35));
		timeseries.add(new Day(29, 2, 2004), time(17, 37));
		timeseries.add(new Day(1, 3, 2004), time(17, 39));
		timeseries.add(new Day(2, 3, 2004), time(17, 41));
		timeseries.add(new Day(3, 3, 2004), time(17, 43));
		timeseries.add(new Day(4, 3, 2004), time(17, 44));
		timeseries.add(new Day(5, 3, 2004), time(17, 46));
		timeseries.add(new Day(6, 3, 2004), time(17, 48));
		timeseries.add(new Day(7, 3, 2004), time(17, 50));
		timeseries.add(new Day(8, 3, 2004), time(17, 51));
		timeseries.add(new Day(9, 3, 2004), time(17, 53));
		timeseries.add(new Day(10, 3, 2004), time(17, 55));
		timeseries.add(new Day(11, 3, 2004), time(17, 56));
		timeseries.add(new Day(12, 3, 2004), time(17, 58));
		timeseries.add(new Day(13, 3, 2004), time(18, 0));
		timeseries.add(new Day(14, 3, 2004), time(18, 2));
		timeseries.add(new Day(15, 3, 2004), time(18, 3));
		timeseries.add(new Day(16, 3, 2004), time(18, 5));
		timeseries.add(new Day(17, 3, 2004), time(18, 7));
		timeseries.add(new Day(18, 3, 2004), time(18, 8));
		timeseries.add(new Day(19, 3, 2004), time(18, 10));
		timeseries.add(new Day(20, 3, 2004), time(18, 12));
		timeseries.add(new Day(21, 3, 2004), time(18, 13));
		timeseries.add(new Day(22, 3, 2004), time(18, 15));
		timeseries.add(new Day(23, 3, 2004), time(18, 17));
		timeseries.add(new Day(24, 3, 2004), time(18, 19));
		timeseries.add(new Day(25, 3, 2004), time(18, 20));
		timeseries.add(new Day(26, 3, 2004), time(18, 22));
		timeseries.add(new Day(27, 3, 2004), time(18, 24));
		timeseries.add(new Day(28, 3, 2004), time(19, 25));
		timeseries.add(new Day(29, 3, 2004), time(19, 27));
		timeseries.add(new Day(30, 3, 2004), time(19, 29));
		timeseries.add(new Day(31, 3, 2004), time(19, 30));
		timeseries.add(new Day(1, 4, 2004), time(19, 32));
		timeseries.add(new Day(2, 4, 2004), time(19, 34));
		timeseries.add(new Day(3, 4, 2004), time(19, 35));
		timeseries.add(new Day(4, 4, 2004), time(19, 37));
		timeseries.add(new Day(5, 4, 2004), time(19, 39));
		timeseries.add(new Day(6, 4, 2004), time(19, 40));
		timeseries.add(new Day(7, 4, 2004), time(19, 42));
		timeseries.add(new Day(8, 4, 2004), time(19, 44));
		timeseries.add(new Day(9, 4, 2004), time(19, 45));
		timeseries.add(new Day(10, 4, 2004), time(19, 47));
		timeseries.add(new Day(11, 4, 2004), time(19, 49));
		timeseries.add(new Day(12, 4, 2004), time(19, 50));
		timeseries.add(new Day(13, 4, 2004), time(19, 52));
		timeseries.add(new Day(14, 4, 2004), time(19, 54));
		timeseries.add(new Day(15, 4, 2004), time(19, 55));
		timeseries.add(new Day(16, 4, 2004), time(19, 57));
		timeseries.add(new Day(17, 4, 2004), time(19, 59));
		timeseries.add(new Day(18, 4, 2004), time(20, 0));
		timeseries.add(new Day(19, 4, 2004), time(20, 2));
		timeseries.add(new Day(20, 4, 2004), time(20, 4));
		timeseries.add(new Day(21, 4, 2004), time(20, 5));
		timeseries.add(new Day(22, 4, 2004), time(20, 7));
		timeseries.add(new Day(23, 4, 2004), time(20, 9));
		timeseries.add(new Day(24, 4, 2004), time(20, 10));
		timeseries.add(new Day(25, 4, 2004), time(20, 12));
		timeseries.add(new Day(26, 4, 2004), time(20, 14));
		timeseries.add(new Day(27, 4, 2004), time(20, 15));
		timeseries.add(new Day(28, 4, 2004), time(20, 17));
		timeseries.add(new Day(29, 4, 2004), time(20, 19));
		timeseries.add(new Day(30, 4, 2004), time(20, 20));
		timeseries.add(new Day(1, 5, 2004), time(20, 22));
		timeseries.add(new Day(2, 5, 2004), time(20, 24));
		timeseries.add(new Day(3, 5, 2004), time(20, 25));
		timeseries.add(new Day(4, 5, 2004), time(20, 27));
		timeseries.add(new Day(5, 5, 2004), time(20, 28));
		timeseries.add(new Day(6, 5, 2004), time(20, 30));
		timeseries.add(new Day(7, 5, 2004), time(20, 32));
		timeseries.add(new Day(8, 5, 2004), time(20, 33));
		timeseries.add(new Day(9, 5, 2004), time(20, 35));
		timeseries.add(new Day(10, 5, 2004), time(20, 36));
		timeseries.add(new Day(11, 5, 2004), time(20, 38));
		timeseries.add(new Day(12, 5, 2004), time(20, 40));
		timeseries.add(new Day(13, 5, 2004), time(20, 41));
		timeseries.add(new Day(14, 5, 2004), time(20, 43));
		timeseries.add(new Day(15, 5, 2004), time(20, 44));
		timeseries.add(new Day(16, 5, 2004), time(20, 46));
		timeseries.add(new Day(17, 5, 2004), time(20, 47));
		timeseries.add(new Day(18, 5, 2004), time(20, 49));
		timeseries.add(new Day(19, 5, 2004), time(20, 50));
		timeseries.add(new Day(20, 5, 2004), time(20, 51));
		timeseries.add(new Day(21, 5, 2004), time(20, 53));
		timeseries.add(new Day(22, 5, 2004), time(20, 54));
		timeseries.add(new Day(23, 5, 2004), time(20, 56));
		timeseries.add(new Day(24, 5, 2004), time(20, 57));
		timeseries.add(new Day(25, 5, 2004), time(20, 58));
		timeseries.add(new Day(26, 5, 2004), time(21, 0));
		timeseries.add(new Day(27, 5, 2004), time(21, 1));
		timeseries.add(new Day(28, 5, 2004), time(21, 2));
		timeseries.add(new Day(29, 5, 2004), time(21, 3));
		timeseries.add(new Day(30, 5, 2004), time(21, 4));
		timeseries.add(new Day(31, 5, 2004), time(21, 6));
		timeseries.add(new Day(1, 6, 2004), time(21, 7));
		timeseries.add(new Day(2, 6, 2004), time(21, 8));
		timeseries.add(new Day(3, 6, 2004), time(21, 9));
		timeseries.add(new Day(4, 6, 2004), time(21, 10));
		timeseries.add(new Day(5, 6, 2004), time(21, 11));
		timeseries.add(new Day(6, 6, 2004), time(21, 12));
		timeseries.add(new Day(7, 6, 2004), time(21, 13));
		timeseries.add(new Day(8, 6, 2004), time(21, 13));
		timeseries.add(new Day(9, 6, 2004), time(21, 14));
		timeseries.add(new Day(10, 6, 2004), time(21, 15));
		timeseries.add(new Day(11, 6, 2004), time(21, 16));
		timeseries.add(new Day(12, 6, 2004), time(21, 16));
		timeseries.add(new Day(13, 6, 2004), time(21, 17));
		timeseries.add(new Day(14, 6, 2004), time(21, 18));
		timeseries.add(new Day(15, 6, 2004), time(21, 18));
		timeseries.add(new Day(16, 6, 2004), time(21, 19));
		timeseries.add(new Day(17, 6, 2004), time(21, 19));
		timeseries.add(new Day(18, 6, 2004), time(21, 19));
		timeseries.add(new Day(19, 6, 2004), time(21, 20));
		timeseries.add(new Day(20, 6, 2004), time(21, 20));
		timeseries.add(new Day(21, 6, 2004), time(21, 20));
		timeseries.add(new Day(22, 6, 2004), time(21, 21));
		timeseries.add(new Day(23, 6, 2004), time(21, 21));
		timeseries.add(new Day(24, 6, 2004), time(21, 21));
		timeseries.add(new Day(25, 6, 2004), time(21, 21));
		timeseries.add(new Day(26, 6, 2004), time(21, 21));
		timeseries.add(new Day(27, 6, 2004), time(21, 21));
		timeseries.add(new Day(28, 6, 2004), time(21, 21));
		timeseries.add(new Day(29, 6, 2004), time(21, 21));
		timeseries.add(new Day(30, 6, 2004), time(21, 21));
		timeseries.add(new Day(1, 7, 2004), time(21, 20));
		timeseries.add(new Day(2, 7, 2004), time(21, 20));
		timeseries.add(new Day(3, 7, 2004), time(21, 19));
		timeseries.add(new Day(4, 7, 2004), time(21, 19));
		timeseries.add(new Day(5, 7, 2004), time(21, 18));
		timeseries.add(new Day(6, 7, 2004), time(21, 18));
		timeseries.add(new Day(7, 7, 2004), time(21, 17));
		timeseries.add(new Day(8, 7, 2004), time(21, 17));
		timeseries.add(new Day(9, 7, 2004), time(21, 16));
		timeseries.add(new Day(10, 7, 2004), time(21, 15));
		timeseries.add(new Day(11, 7, 2004), time(21, 14));
		timeseries.add(new Day(12, 7, 2004), time(21, 14));
		timeseries.add(new Day(13, 7, 2004), time(21, 13));
		timeseries.add(new Day(14, 7, 2004), time(21, 12));
		timeseries.add(new Day(15, 7, 2004), time(21, 11));
		timeseries.add(new Day(16, 7, 2004), time(21, 10));
		timeseries.add(new Day(17, 7, 2004), time(21, 9));
		timeseries.add(new Day(18, 7, 2004), time(21, 8));
		timeseries.add(new Day(19, 7, 2004), time(21, 7));
		timeseries.add(new Day(20, 7, 2004), time(21, 5));
		timeseries.add(new Day(21, 7, 2004), time(21, 4));
		timeseries.add(new Day(22, 7, 2004), time(21, 3));
		timeseries.add(new Day(23, 7, 2004), time(21, 2));
		timeseries.add(new Day(24, 7, 2004), time(21, 0));
		timeseries.add(new Day(25, 7, 2004), time(20, 59));
		timeseries.add(new Day(26, 7, 2004), time(20, 58));
		timeseries.add(new Day(27, 7, 2004), time(20, 56));
		timeseries.add(new Day(28, 7, 2004), time(20, 55));
		timeseries.add(new Day(29, 7, 2004), time(20, 53));
		timeseries.add(new Day(30, 7, 2004), time(20, 52));
		timeseries.add(new Day(31, 7, 2004), time(20, 50));
		timeseries.add(new Day(1, 8, 2004), time(20, 48));
		timeseries.add(new Day(2, 8, 2004), time(20, 47));
		timeseries.add(new Day(3, 8, 2004), time(20, 45));
		timeseries.add(new Day(4, 8, 2004), time(20, 43));
		timeseries.add(new Day(5, 8, 2004), time(20, 42));
		timeseries.add(new Day(6, 8, 2004), time(20, 40));
		timeseries.add(new Day(7, 8, 2004), time(20, 38));
		timeseries.add(new Day(8, 8, 2004), time(20, 36));
		timeseries.add(new Day(9, 8, 2004), time(20, 34));
		timeseries.add(new Day(10, 8, 2004), time(20, 33));
		timeseries.add(new Day(11, 8, 2004), time(20, 31));
		timeseries.add(new Day(12, 8, 2004), time(20, 29));
		timeseries.add(new Day(13, 8, 2004), time(20, 27));
		timeseries.add(new Day(14, 8, 2004), time(20, 25));
		timeseries.add(new Day(15, 8, 2004), time(20, 23));
		timeseries.add(new Day(16, 8, 2004), time(20, 21));
		timeseries.add(new Day(17, 8, 2004), time(20, 19));
		timeseries.add(new Day(18, 8, 2004), time(20, 17));
		timeseries.add(new Day(19, 8, 2004), time(20, 15));
		timeseries.add(new Day(20, 8, 2004), time(20, 13));
		timeseries.add(new Day(21, 8, 2004), time(20, 11));
		timeseries.add(new Day(22, 8, 2004), time(20, 9));
		timeseries.add(new Day(23, 8, 2004), time(20, 7));
		timeseries.add(new Day(24, 8, 2004), time(20, 4));
		timeseries.add(new Day(25, 8, 2004), time(20, 2));
		timeseries.add(new Day(26, 8, 2004), time(20, 0));
		timeseries.add(new Day(27, 8, 2004), time(19, 58));
		timeseries.add(new Day(28, 8, 2004), time(19, 56));
		timeseries.add(new Day(29, 8, 2004), time(19, 54));
		timeseries.add(new Day(30, 8, 2004), time(19, 51));
		timeseries.add(new Day(31, 8, 2004), time(19, 49));
		timeseries.add(new Day(1, 9, 2004), time(19, 47));
		timeseries.add(new Day(2, 9, 2004), time(19, 45));
		timeseries.add(new Day(3, 9, 2004), time(19, 42));
		timeseries.add(new Day(4, 9, 2004), time(19, 40));
		timeseries.add(new Day(5, 9, 2004), time(19, 38));
		timeseries.add(new Day(6, 9, 2004), time(19, 36));
		timeseries.add(new Day(7, 9, 2004), time(19, 33));
		timeseries.add(new Day(8, 9, 2004), time(19, 31));
		timeseries.add(new Day(9, 9, 2004), time(19, 29));
		timeseries.add(new Day(10, 9, 2004), time(19, 27));
		timeseries.add(new Day(11, 9, 2004), time(19, 24));
		timeseries.add(new Day(12, 9, 2004), time(19, 22));
		timeseries.add(new Day(13, 9, 2004), time(19, 20));
		timeseries.add(new Day(14, 9, 2004), time(19, 17));
		timeseries.add(new Day(15, 9, 2004), time(19, 15));
		timeseries.add(new Day(16, 9, 2004), time(19, 13));
		timeseries.add(new Day(17, 9, 2004), time(19, 11));
		timeseries.add(new Day(18, 9, 2004), time(19, 8));
		timeseries.add(new Day(19, 9, 2004), time(19, 6));
		timeseries.add(new Day(20, 9, 2004), time(19, 4));
		timeseries.add(new Day(21, 9, 2004), time(19, 1));
		timeseries.add(new Day(22, 9, 2004), time(18, 59));
		timeseries.add(new Day(23, 9, 2004), time(18, 57));
		timeseries.add(new Day(24, 9, 2004), time(18, 54));
		timeseries.add(new Day(25, 9, 2004), time(18, 52));
		timeseries.add(new Day(26, 9, 2004), time(18, 50));
		timeseries.add(new Day(27, 9, 2004), time(18, 47));
		timeseries.add(new Day(28, 9, 2004), time(18, 45));
		timeseries.add(new Day(29, 9, 2004), time(18, 43));
		timeseries.add(new Day(30, 9, 2004), time(18, 41));
		timeseries.add(new Day(1, 10, 2004), time(18, 38));
		timeseries.add(new Day(2, 10, 2004), time(18, 36));
		timeseries.add(new Day(3, 10, 2004), time(18, 34));
		timeseries.add(new Day(4, 10, 2004), time(18, 31));
		timeseries.add(new Day(5, 10, 2004), time(18, 29));
		timeseries.add(new Day(6, 10, 2004), time(18, 27));
		timeseries.add(new Day(7, 10, 2004), time(18, 25));
		timeseries.add(new Day(8, 10, 2004), time(18, 22));
		timeseries.add(new Day(9, 10, 2004), time(18, 20));
		timeseries.add(new Day(10, 10, 2004), time(18, 18));
		timeseries.add(new Day(11, 10, 2004), time(18, 16));
		timeseries.add(new Day(12, 10, 2004), time(18, 14));
		timeseries.add(new Day(13, 10, 2004), time(18, 11));
		timeseries.add(new Day(14, 10, 2004), time(18, 9));
		timeseries.add(new Day(15, 10, 2004), time(18, 7));
		timeseries.add(new Day(16, 10, 2004), time(18, 5));
		timeseries.add(new Day(17, 10, 2004), time(18, 3));
		timeseries.add(new Day(18, 10, 2004), time(18, 1));
		timeseries.add(new Day(19, 10, 2004), time(17, 59));
		timeseries.add(new Day(20, 10, 2004), time(17, 57));
		timeseries.add(new Day(21, 10, 2004), time(17, 55));
		timeseries.add(new Day(22, 10, 2004), time(17, 53));
		timeseries.add(new Day(23, 10, 2004), time(17, 50));
		timeseries.add(new Day(24, 10, 2004), time(17, 48));
		timeseries.add(new Day(25, 10, 2004), time(17, 46));
		timeseries.add(new Day(26, 10, 2004), time(17, 45));
		timeseries.add(new Day(27, 10, 2004), time(17, 43));
		timeseries.add(new Day(28, 10, 2004), time(17, 41));
		timeseries.add(new Day(29, 10, 2004), time(17, 39));
		timeseries.add(new Day(30, 10, 2004), time(17, 37));
		timeseries.add(new Day(31, 10, 2004), time(16, 35));
		timeseries.add(new Day(1, 11, 2004), time(16, 33));
		timeseries.add(new Day(2, 11, 2004), time(16, 31));
		timeseries.add(new Day(3, 11, 2004), time(16, 30));
		timeseries.add(new Day(4, 11, 2004), time(16, 28));
		timeseries.add(new Day(5, 11, 2004), time(16, 26));
		timeseries.add(new Day(6, 11, 2004), time(16, 24));
		timeseries.add(new Day(7, 11, 2004), time(16, 23));
		timeseries.add(new Day(8, 11, 2004), time(16, 21));
		timeseries.add(new Day(9, 11, 2004), time(16, 20));
		timeseries.add(new Day(10, 11, 2004), time(16, 18));
		timeseries.add(new Day(11, 11, 2004), time(16, 16));
		timeseries.add(new Day(12, 11, 2004), time(16, 15));
		timeseries.add(new Day(13, 11, 2004), time(16, 13));
		timeseries.add(new Day(14, 11, 2004), time(16, 12));
		timeseries.add(new Day(15, 11, 2004), time(16, 11));
		timeseries.add(new Day(16, 11, 2004), time(16, 9));
		timeseries.add(new Day(17, 11, 2004), time(16, 8));
		timeseries.add(new Day(18, 11, 2004), time(16, 7));
		timeseries.add(new Day(19, 11, 2004), time(16, 5));
		timeseries.add(new Day(20, 11, 2004), time(16, 4));
		timeseries.add(new Day(21, 11, 2004), time(16, 3));
		timeseries.add(new Day(22, 11, 2004), time(16, 2));
		timeseries.add(new Day(23, 11, 2004), time(16, 1));
		timeseries.add(new Day(24, 11, 2004), time(16, 0));
		timeseries.add(new Day(25, 11, 2004), time(15, 59));
		timeseries.add(new Day(26, 11, 2004), time(15, 58));
		timeseries.add(new Day(27, 11, 2004), time(15, 57));
		timeseries.add(new Day(28, 11, 2004), time(15, 56));
		timeseries.add(new Day(29, 11, 2004), time(15, 56));
		timeseries.add(new Day(30, 11, 2004), time(15, 55));
		timeseries.add(new Day(1, 12, 2004), time(15, 54));
		timeseries.add(new Day(2, 12, 2004), time(15, 54));
		timeseries.add(new Day(3, 12, 2004), time(15, 53));
		timeseries.add(new Day(4, 12, 2004), time(15, 53));
		timeseries.add(new Day(5, 12, 2004), time(15, 52));
		timeseries.add(new Day(6, 12, 2004), time(15, 52));
		timeseries.add(new Day(7, 12, 2004), time(15, 51));
		timeseries.add(new Day(8, 12, 2004), time(15, 51));
		timeseries.add(new Day(9, 12, 2004), time(15, 51));
		timeseries.add(new Day(10, 12, 2004), time(15, 51));
		timeseries.add(new Day(11, 12, 2004), time(15, 50));
		timeseries.add(new Day(12, 12, 2004), time(15, 50));
		timeseries.add(new Day(13, 12, 2004), time(15, 50));
		timeseries.add(new Day(14, 12, 2004), time(15, 50));
		timeseries.add(new Day(15, 12, 2004), time(15, 51));
		timeseries.add(new Day(16, 12, 2004), time(15, 51));
		timeseries.add(new Day(17, 12, 2004), time(15, 51));
		timeseries.add(new Day(18, 12, 2004), time(15, 51));
		timeseries.add(new Day(19, 12, 2004), time(15, 51));
		timeseries.add(new Day(20, 12, 2004), time(15, 52));
		timeseries.add(new Day(21, 12, 2004), time(15, 52));
		timeseries.add(new Day(22, 12, 2004), time(15, 53));
		timeseries.add(new Day(23, 12, 2004), time(15, 53));
		timeseries.add(new Day(24, 12, 2004), time(15, 54));
		timeseries.add(new Day(25, 12, 2004), time(15, 55));
		timeseries.add(new Day(26, 12, 2004), time(15, 55));
		timeseries.add(new Day(27, 12, 2004), time(15, 56));
		timeseries.add(new Day(28, 12, 2004), time(15, 57));
		timeseries.add(new Day(29, 12, 2004), time(15, 58));
		timeseries.add(new Day(30, 12, 2004), time(15, 59));
		timeseries.add(new Day(31, 12, 2004), time(16, 0));
		return timeseries;
	}

	private static JFreeChart createChart(XYDataset xydataset)
	{
		JFreeChart jfreechart = ChartFactory.createTimeSeriesChart("Daylight Hours - London, UK", "Date", "Time", xydataset, true, true, false);
		jfreechart.addSubtitle(new TextTitle("Data source: http://www.sunrisesunset.com/", new Font("SansSerif", 0, 12)));
		XYDifferenceRenderer xydifferencerenderer = new XYDifferenceRenderer(Color.blue, Color.blue, false);
		xydifferencerenderer.setRoundXCoordinates(true);
		xydifferencerenderer.setBaseStroke(new BasicStroke(2.0F));
		xydifferencerenderer.setSeriesPaint(0, Color.yellow);
		xydifferencerenderer.setSeriesPaint(1, Color.red);
		xydifferencerenderer.setBaseToolTipGenerator(new StandardXYToolTipGenerator("{0} : {1} = {2}", new SimpleDateFormat("d-MMM-yyyy"), new SimpleDateFormat("kk:mm")));
		XYPlot xyplot = (XYPlot)jfreechart.getPlot();
		xyplot.setRenderer(xydifferencerenderer);
		xyplot.setDomainCrosshairVisible(true);
		xyplot.setRangeCrosshairVisible(true);
		DateAxis dateaxis = new DateAxis("Time");
		dateaxis.setTickMarkPosition(DateTickMarkPosition.MIDDLE);
		dateaxis.setLowerMargin(0.0D);
		dateaxis.setUpperMargin(0.0D);
		xyplot.setDomainAxis(dateaxis);
		xyplot.setForegroundAlpha(0.5F);
		GradientPaint gradientpaint = new GradientPaint(0.0F, 0.0F, Color.red, 1.0F, 1.0F, Color.orange);
		IntervalMarker intervalmarker = new IntervalMarker((new Day(28, 3, 2004)).getFirstMillisecond(), (new Day(30, 10, 2004)).getFirstMillisecond(), gradientpaint, new BasicStroke(2.0F), null, null, 1.0F);
		intervalmarker.setLabel("British Summer Time");
		intervalmarker.setLabelAnchor(RectangleAnchor.BOTTOM_RIGHT);
		intervalmarker.setLabelFont(new Font("SansSerif", 3, 10));
		intervalmarker.setLabelTextAnchor(TextAnchor.BASELINE_RIGHT);
		intervalmarker.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.HORIZONTAL));
		xyplot.addDomainMarker(intervalmarker, Layer.BACKGROUND);
		DateAxis dateaxis1 = new DateAxis("Time");
		dateaxis1.setLowerMargin(0.14999999999999999D);
		dateaxis1.setUpperMargin(0.14999999999999999D);
		xyplot.setRangeAxis(dateaxis1);
		ChartUtilities.applyCurrentTheme(jfreechart);
		return jfreechart;
	}

	public static JPanel createDemoPanel()
	{
		JFreeChart jfreechart = createChart(createDataset());
		return new ChartPanel(jfreechart);
	}

	public static void main(String args[])
	{
		DifferenceChartDemo2 differencechartdemo2 = new DifferenceChartDemo2("JFreeChart: DifferenceChartDemo2.java");
		differencechartdemo2.pack();
		RefineryUtilities.centerFrameOnScreen(differencechartdemo2);
		differencechartdemo2.setVisible(true);
	}
}
