|
@@ -352,8 +352,8 @@ public class NewTests {
|
|
|
public void test10() {
|
|
|
|
|
|
|
|
|
- DateTime start = DateUtil.parse("2025-01-13");
|
|
|
- DateTime end = DateUtil.parse("2025-01-13");
|
|
|
+ DateTime start = DateUtil.parse("2025-02-02");
|
|
|
+ DateTime end = DateUtil.parse("2025-02-24");
|
|
|
DateRange range = DateUtil.range(start, end, DateField.DAY_OF_YEAR);
|
|
|
for (DateTime date : range) {
|
|
|
|
|
@@ -362,7 +362,7 @@ public class NewTests {
|
|
|
|
|
|
|
|
|
|
|
|
- task.calcStationSwGwCyRdl_ha(date);
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -372,7 +372,7 @@ public class NewTests {
|
|
|
|
|
|
|
|
|
|
|
|
- task.calcTurbine5s2_ha(date);
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -394,8 +394,9 @@ public class NewTests {
|
|
|
DateTime b1 = DateUtil.offsetDay(date, -1);
|
|
|
DateTime b2 = DateUtil.endOfDay(b1);
|
|
|
|
|
|
+
|
|
|
task.calcHaBbHz(date);
|
|
|
- task.calcHaBbHzSs(b1, b2);
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -496,4 +497,11 @@ public class NewTests {
|
|
|
example.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
|
|
example.setVisible(true);
|
|
|
}
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void test17() {
|
|
|
+ DateTime begin = DateUtil.parse("2025-02-23");
|
|
|
+ DateTime end = DateUtil.endOfDay(begin);
|
|
|
+ task.calcTurbine5s(begin, end, 0.1);
|
|
|
+ }
|
|
|
}
|