tool

package
v0.0.0-...-205be16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWeworkUserExpire

func IsWeworkUserExpire(expireDateStr string) bool

IsWeworkUserExpire 根据过期日期的字符串计算是否过期

func SubDays

func SubDays(t1, t2 time.Time) (day int)

SubDays 计算日期相差多少天 返回值day>0, t1晚于t2; day<0, t1早于t2

func WeworkExpireStr

func WeworkExpireStr(expireDay int) string

WeworkExpireStr 根据过期天数计算过期日期的字符串

func WeworkExpireStrToTime

func WeworkExpireStrToTime(expireDateStr string) time.Time

WeworkExpireStrToTime 根据过期日期的字符串转换为日期

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL