Documentation ¶
Index ¶
- func AGTB(A string, B string) bool
- func AGTEB(A string, B string) bool
- func AddDays(start string, num int) (string, error)
- func AddMonths(start string, num int) (string, error)
- func CheckSplit(str string) bool
- func CompareDate(start string, end string) int
- func DataInterval(start string, end string) int
- func Decrypt(dt string) (string, error)
- func Encrypt(dt string) (string, error)
- func FormatIntTodate(year int, month int, day int) (string, error)
- func FormatStringToDate(date string) (string, error)
- func JoinCode(domain_id, code_number string) string
- func MonthInterval(start string, pmt_freq int) (int, error)
- func SetKey(key []byte) bool
- func SplitCode(id string) string
- func SplitDomain(id string) string
- func ValidDate(date string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareDate ¶
第二个参数大于第一个参数时,返回 1 第二个参数小于第一个参数时,返回 -1 第一个参数等于第二个参数时,返回 0
func DataInterval ¶
func FormatIntTodate ¶
将字符串格式化未yyyy-mm-dd形式
func FormatStringToDate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.