From c56e1e74426238939f229f0005828d05089715ff Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 03 七月 2025 17:30:58 +0800 Subject: [PATCH] 2025.7.3 1. 新增动态污染溯源新的判定逻辑 --- src/test/kotlin/com/flightfeather/uav/Test.kt | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt index ead18b4..4941af9 100644 --- a/src/test/kotlin/com/flightfeather/uav/Test.kt +++ b/src/test/kotlin/com/flightfeather/uav/Test.kt @@ -3,6 +3,7 @@ import com.flightfeather.uav.common.utils.DateUtil import com.flightfeather.uav.common.utils.FileExchange import com.flightfeather.uav.common.utils.FileUtil +import com.flightfeather.uav.common.utils.TimeUtil import com.flightfeather.uav.domain.entity.BaseRealTimeData import com.flightfeather.uav.domain.entity.Company import com.flightfeather.uav.domain.entity.GridDataDetail @@ -152,4 +153,19 @@ println(dataDetail) } + + @Test + fun getDayTimeTag() { + val period = TimeUtil.getDayTimeTag( + Date(2024, 10, 10, 10, 25, 0), + Date(2024, 10, 10, 14, 40, 0) + ) + + println("${period?.first};${period?.second};${period?.third}") + } + + @Test + fun foo18() { + println(-4.382398 in 4.0..Double.MAX_VALUE) + } } \ No newline at end of file -- Gitblit v1.9.3