fix(character): SpEL 정적 호출 오류로 @JvmStatic 추가

This commit is contained in:
Klaus 2025-09-11 18:21:13 +09:00
parent 83a1316a64
commit 58a46a09c3
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ object RankingWindowCalculator {
private val ZONE: ZoneId = ZoneOffset.UTC private val ZONE: ZoneId = ZoneOffset.UTC
private const val BOUNDARY_HOUR = 20 // 20:00:00 UTC private const val BOUNDARY_HOUR = 20 // 20:00:00 UTC
@JvmStatic
fun now(prefix: String = "popular-chat-character"): RankingWindow { fun now(prefix: String = "popular-chat-character"): RankingWindow {
val now = ZonedDateTime.now(ZONE) val now = ZonedDateTime.now(ZONE)
val todayBoundary = now.toLocalDate().atTime(BOUNDARY_HOUR, 0, 0).atZone(ZONE) val todayBoundary = now.toLocalDate().atTime(BOUNDARY_HOUR, 0, 0).atZone(ZONE)