Documentation ¶
Index ¶
- Variables
- func EndTick() float32
- func EndTickDt() time.Duration
- func GetBeforeMonthRange(now time.Time, interval int) (firstOfMonth, firstOfNextMonth time.Time, lastDayWeek time.Weekday, ...)
- func GetNextMonthRange(now time.Time, interval int) (firstOfMonth, firstOfNextMonth time.Time, lastDayWeek time.Weekday, ...)
- func MsTimestamp2DayHourStr() string
- func MsTimestamp2DayMiniuteStr() string
- func MsTimestamp2DayStr() string
- func MsTimestamp2MicroStr() string
- func MsTimestamp2MilliStr() string
- func MsTimestamp2MonthStr() string
- func MsTimestamp2NanoStr() string
- func MsTimestamp2SecondStr() string
- func MsTimestamp2Time(stamp int64) time.Time
- func MsTimestampNow() int64
- func MsTimestampStr2Time(stampStr string) (time.Time, error)
- func NanoTimestamp2Time(stamp int64) time.Time
- func ParseTime(layout, value string) (time.Time, error)
- func SecondTimestampNow() int64
- func StartTick()
- func Timestamp2Time(stamp int64) time.Time
- func WeekRange(now time.Time) (weekStart, weekEnd time.Time)
Constants ¶
This section is empty.
Variables ¶
View Source
var End time.Time
View Source
var Start time.Time
Functions ¶
func GetBeforeMonthRange ¶
func GetNextMonthRange ¶
func MsTimestamp2DayHourStr ¶
func MsTimestamp2DayHourStr() string
func MsTimestamp2DayMiniuteStr ¶
func MsTimestamp2DayMiniuteStr() string
func MsTimestamp2DayStr ¶
func MsTimestamp2DayStr() string
func MsTimestamp2MicroStr ¶
func MsTimestamp2MicroStr() string
func MsTimestamp2MilliStr ¶
func MsTimestamp2MilliStr() string
func MsTimestamp2MonthStr ¶
func MsTimestamp2MonthStr() string
func MsTimestamp2NanoStr ¶
func MsTimestamp2NanoStr() string
func MsTimestamp2SecondStr ¶
func MsTimestamp2SecondStr() string
func NanoTimestamp2Time ¶
func Timestamp2Time ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.