增加自动获取节假日

This commit is contained in:
2026-03-19 14:53:40 +08:00
parent 4845094577
commit 053725852a
10 changed files with 298 additions and 148 deletions
@@ -0,0 +1,17 @@
package com.pomelotea.hoperun.sign.holiday
import com.alibaba.fastjson.annotation.JSONField
import java.time.Instant
data class HolidayEntry(
val name: String? = null,
val date: String? = null,
@field:JSONField(name = "isOffDay")
val isOffDay: Boolean? = null
)
data class HolidayCalendar(
val holidays: Set<String>,
val workdays: Set<String>,
val updatedAt: Instant
)