// Path: src/test/java/com/aragaer/jtt/core/test/TestIntervalCalculator.java
// public class TestIntervalCalculator implements SolarEventCalculator {
//     private static final long MS_PER_DAY = TimeUnit.DAYS.toMillis(1);
// 
//     @Override public Calendar getSunriseFor(Calendar noon) {
//         long millis = noon.getTimeInMillis();
//         Calendar result = Calendar.getInstance();
//         result.setTimeInMillis(millis - MS_PER_DAY/4);
//         return result;
//     }
// 
//     @Override public Calendar getSunsetFor(Calendar noon) {
//         long millis = noon.getTimeInMillis();
//         Calendar result = Calendar.getInstance();
//         result.setTimeInMillis(millis + MS_PER_DAY/4);
//         return result;
//     }
// }


import java.util.TimeZone;
import java.util.concurrent.TimeUnit;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import com.aragaer.jtt.core.test.TestIntervalCalculator;
// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; -*-
// vim: et ts=4 sts=4 sw=4 syntax=java
package com.aragaer.jtt.core;






public class IntervalBuilderTest {
    private static final long MS_PER_DAY = TimeUnit.DAYS.toMillis(1);


// Path: src/test/java/com/aragaer/jtt/core/test/TestIntervalCalculator.java
// public class TestIntervalCalculator implements SolarEventCalculator {
//     private static final long MS_PER_DAY = TimeUnit.DAYS.toMillis(1);
// 
//     @Override public Calendar getSunriseFor(Calendar noon) {
//         long millis = noon.getTimeInMillis();
//         Calendar result = Calendar.getInstance();
//         result.setTimeInMillis(millis - MS_PER_DAY/4);
//         return result;
//     }
// 
//     @Override public Calendar getSunsetFor(Calendar noon) {
//         long millis = noon.getTimeInMillis();
//         Calendar result = Calendar.getInstance();
//         result.setTimeInMillis(millis + MS_PER_DAY/4);
//         return result;
//     }
// }


// Path: src/test/java/com/aragaer/jtt/core/IntervalBuilderTest.java
import java.util.TimeZone;
import java.util.concurrent.TimeUnit;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import com.aragaer.jtt.core.test.TestIntervalCalculator;

// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; -*-
// vim: et ts=4 sts=4 sw=4 syntax=java
package com.aragaer.jtt.core;






public class IntervalBuilderTest {
    private static final long MS_PER_DAY = TimeUnit.DAYS.toMillis(1);


    private final TestIntervalCalculator _calculator = new TestIntervalCalculator();