🆗 添加2024年调休与节假日配置

This commit is contained in:
2024-01-01 15:46:19 +08:00
parent 83fe28b76d
commit 1d94c923bd
2 changed files with 324 additions and 5 deletions

View File

@@ -22,12 +22,22 @@ val <T : Any> T.logger: Logger
get() = LoggerFactory.getLogger(this::class.java)
val holidays: List<String> = listOf(
"2023-04-05",
"2023-04-29", "2023-04-30", "2023-05-01", "2023-05-01", "2023-05-03",
"2023-06-22", "2023-06-23", "2023-06-24",
"2023-09-29", "2023-09-30", "2023-10-01", "2023-10-02", "2023-10-03", "2023-10-04", "2023-10-05", "2023-10-06")
// 元旦
"2024-01-01",
// 春节
"2024-02-10", "2024-02-11", "2024-02-12", "2024-02-13", "2024-02-14", "2024-02-15", "2024-02-16", "2024-02-17",
// 清明
"2024-04-04", "2024-04-05", "2024-04-06",
// 劳动节
"2024-05-01", "2024-05-02", "2024-05-03", "2024-05-04", "2024-05-05",
// 端午节
"2024-06-08", "2024-06-09", "2024-06-10",
// 中秋
"2024-09-15", "2024-09-16", "2024-09-17",
// 国庆
"2024-10-01", "2024-10-02", "2024-10-03", "2024-10-04", "2024-10-05", "2024-10-06", "2024-10-07")
val workdays: List<String> = listOf("2023-04-23", "2023-05-06", "2023-06-25", "2023-10-07", "2023-10-08")
val workdays: List<String> = listOf("2024-04-07", "2024-04-28", "2024-05-11", "2024-09-14", "2024-09-29", "2024-10-12")
private val logger = LoggerFactory.getLogger("APPLICATION-STARTER")
fun main(args: Array<String>) {