Skip to content

Release 0.0.9

Compare
Choose a tag to compare
@baagod baagod released this 23 Dec 10:54
· 8 commits to main since this release
  • 调整 Time 对象方法的排序;
  • 移除 DaysIn() 方法使用绝对值 int(math.Abs(float64(m))) 计算月的最大天数。
  • 添加一个 Time.Clock() (hour, min, sec int) 方法,返回一天中的小时、分钟和秒;
  • 添加与内置 time 包具有相同行为的 Time.Round() 方法(详情查看注释)。