Climb mountains not so the world can see you, but so you can see the world.
爬上山顶并不是为了让世界看到你,而是为了让你看到整个世界。———— David McCullough Jr.
最近在做一个抽奖活动,大概逻辑就是每期活动每个人最多可以抽10次, 活动是在每周五进行。如果你在本期活动已经抽完了5次, 就要提示 你的抽奖次数已用完,下期抽奖将于 xxx 时间开始。所以就需要计算一下下期活动是什么时候。所以就使用了java hutool工具来完成: import cn.hutool.core.date.DateField; import cn.hutool.core.date.DateTime; import cn.hutool.core.date.Week; import cn.hutool.core.util.DateUtil; public class NextFrida...