| | |
| | | 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 |
| | |
| | | |
| | | 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}") |
| | | } |
| | | } |