We are young. So let's set the world on fire. We can burn brighter than the sun.
我们是青年,让我们点亮世界,释放生命,胜过太阳。———— Fun., "We Are Young"
最近在做一个抽奖活动,大概逻辑就是每期活动每个人最多可以抽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...