# Functions
BeginOfDay 当前日期的起始时间.
BeginOfDuration 以当前的时间作为起始时间,抹掉一部分时间.
BeginOfMonth 当前月的起始时间.
BeginOfWeek 当前日期的起始时间.
BeginOfYear 当前年的起始时间.
EndOfDay 当前日期的终止时间.
EndOfMonth 当前月的终止时间.
EndOfWeek 当前日期的终止时间.
EndOfYear 当前年的终止时间.
FindStringSubmatchMap infomation: returns a map of strings holding the text of the leftmost match of the regular expression in s and the matches, if any, of its subexpressions, as defined by the 'Submatch' description in the package comment.
FormatChineseDate 格式化中国日期.
FormatChineseDateTime 格式化中国日期时间.
FormatChineseZDate 格式化中文缩写日期.
FormatChineseZDateTime 格式化去0的中国日期时间.
FormatDashTime format datetime string with dash.
FormatDate 格式化日期.
FormatDateTime format datetime string.
FormatHTTPGMT format GMT string.
FormatLayoutTime 格式化自定义的时间.
FormatRFC3339 format RFC3339 string.
FormatRFC3339Nano format RFC3339Nano string.
FormatTime format time string.
FormatZDate 格式化不含0的日期.
GbkToUtf8 gbk to utf8.
GetMonthDays get year's month days.
GetNow initialise by input time 初始化当前时间.
GetTimeMonthDays get time's month days.
HideString hide some words origin: the string to be hidden start: from 1 to len(origin), replace * from beginning length: replace origin length from the beginning.
IntToString parse int to string.
IsZero judge time is zero.
NowConfig 设置时间的配置.
NowLocation 设置时间Location.
NowTime 获取当前时间.
NowWeekStartDay 设置一周开始时间.
ParseChineseDate 转换中文日期格式为cacheLocation的时间.
ParseChineseDateTime 转换中文时间格式为cacheLocation的时间.
ParseDate 转换日期格式为cacheLocation的时间.
ParseDateTime 转换时间格式为cacheLocation的时间.
ParseInLocation 解析时间.
ParseLayoutTime 解析时间.
ParseStringByteSize return big size.
ParseStringTime return time.Duration.
QuoteBytesToASCIIWithoutBackslashed strconv.QuoteToASCII by bytes.
QuoteToASCIIWithoutBackslashed strconv.QuoteToASCII without Backslashed \\ import strconv.
RemoveDuplicateStringByMap remove duplicate string by map whether a string is already exist.
RoundFund round fund to int64.
StringContainedInSlice a string contains a short string in haystack.
StringInSlice a string in haystack.
StringToDate paser string to date, but is deprecated, use ParseDate.
StringToDateTime parse string to datetime, but is deprecated, use ParseDateTime.
SuffixStringInSlice a string starts with a short string in haystack.
ToFloat64 covert any type to float64.
ToInt parse value to int.
ToInt64 parse value to int64.
UnixToTime parse unix to time.
Utf8ToGbk utf8 to gbk.
WithLocation 返回带自定义Location的时间.
# Constants
Datas.
Datas.
Datas.
Datas.
Datas.
Datas.
Datas.
Datas.
No description provided by the author
MonthDays.
MonthDays.
MonthDays.
MonthDays.
Datas.
Datas.
# Variables
WeekStartDay 一周的开始时间.
# Interfaces
Times 时间处理函数.