# Functions
No description provided by the author
Cycle 循环执行回调,固定延迟时间,会立刻执行一次.
CycleCount 循环执行cnt次,由于cron的最小单位是1分钟,所以1分钟内的循环可以依靠该函数延迟几次执行.
DynamicCycle 循环执行回调,动态间隔时间,会立刻执行一次.
DynamicSchedule 动态频率执行回调,不会立刻执行(等待一个周期).
GetLocalStr change utc time to local date str.
No description provided by the author
No description provided by the author
No description provided by the author
IsSameDay check if two time is same day locally.
No description provided by the author
Schedule 固定频率执行回调,不会立刻执行(等一个周期).
UTCToLocal 如果想要将本地时间转换成UTC,直接用UTC()方法即可 如果解析字符串,对应的是本地时间且字符串中没有时区,使用time.ParseInLocation(ChinaTimeZone()).
# Structs
TextDuration 方便从字符串反序列化到Duration对象.