local _, ns = ...

local Util = ns.Util or {}
local getWeeklyResetInfo = Util.GetWeeklyResetInfo

function ns:GetWeeklyResetSeconds()
    local secondsUntilReset = getWeeklyResetInfo()
    return secondsUntilReset or 0
end

function ns:GetDailyResetSeconds()
    if C_DateAndTime and C_DateAndTime.GetSecondsUntilDailyReset then
        return C_DateAndTime.GetSecondsUntilDailyReset() or 0
    end
    return 0
end
