# Functions
AnyPercent 任意类型转换为百分比,不过实话意义不是特别大,就是方便一点.
CeilFloat 向上取整,保留多少位小数.
DayListBetweenStartEnd 获取两个日期之间的所有日期.
FloorFloat 向下取整,保留places位小数.
GetCalDataStr 计算日期加减后的string.
No description provided by the author
GetCurrentAndNextHour 获取当前时间和后一小时.
GetDiffTime get the diff time from previous to later time GetDiffTime 获取时间之间的天数,小时数, 分钟数和秒数 parameter previousTime, should be string or time.Time parameter laterTime, should be string or time.Time parameter flag, value is TIME_TO_DAYS,TIME_TO_HOURS, TIME_TO_MINUTES, TIME_TO_SECONDS.
GetFirstAndLastDateOfWeek 获取当天所在周的周一和周日时间.
GetLastDayOfMonth 获取指定年月的最后一天.
GetTimestampGap 获取时间间隔的起始时间戳,用来做基于时间的幂等函数.
GetWeekendDates 获取指定年份的第几周的周日和周六.
GetWeekNumByDate 获取第几周.
LenToSubNetMask 如 24 对应的子网掩码地址为 255.255.255.0.
No description provided by the author
No description provided by the author
No description provided by the author
PercentVal 输出百分比。 保留places位小数, 采用cutoff的取整方法.
RoundFloat 四舍五入, 保留places位小数.
SubNetMaskToLen 如 255.255.255.0 对应的网络位长度为 24.
Tomorrow 获取明天的日期.
UnixTimeStamp2TimeStr timestamp转换为标准日期时间.
Yesterday 获取昨天的日期.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
MinHeap 定义一个最小堆类型.