| # | Line 1 | Line 1 | |
|---|---|---|
| 1 | import java.sql.*; | |
| 2 | import java.io.*; | |
| 3 | ||
| 4 | + | // Main method to run the reports. |
| 5 | public class DBReporterMain { | |
| 6 | ||
| 7 | public static void main(String[] args) { | |
| 8 | ||
| 9 | long endTime = DateUtils.startOfToday(); | |
| 10 | < | endTime = DateUtils.subtractDays(endTime, 2); |
| 10 | > | |
| 11 | > | // Uncomment next line to go back in time... |
| 12 | > | //endTime = DateUtils.subtractDays(endTime, 2); |
| 13 | > | |
| 14 | long startTime = DateUtils.subtractDays(endTime, 1); | |
| 15 | ||
| 16 | DBReporter reporter = new DBReporter(startTime, endTime); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |