Documentation
¶
Index ¶
- Constants
- func GetCurDayPassMS() int64
- func GetCurDayPassS() int
- func GetDateRange(startDate string, endDate string) (dateRange []interface{})
- func GetFormatDashDate(t time.Time) string
- func GetFormatSeamlessDate() string
- func GetNumsOfDayInMonth(month Month) int
- func GetTSByFormatDate(formatDate string) int64
- func IntervalDay(bt int64, lt int64) int
- type Month
Constants ¶
View Source
const ( FormatDashDatetime = "2006-01-02 15:04:05" FormatDashDate = "2006-01-02" FormatSeamlessDate = "20060102" JANUARY = Month("1") FEBRUARY = Month("2") MARCH = Month("3") APRIL = Month("4") MAY = Month("5") JUNE = Month("6") JULY = Month("7") AUGUST = Month("8") SEPTEMBER = Month("9") OCTOBER = Month("10") NOVEMBER = Month("11") DECEMBER = Month("12") )
Variables ¶
This section is empty.
Functions ¶
func GetCurDayPassMS ¶
func GetCurDayPassMS() int64
func GetCurDayPassS ¶
func GetCurDayPassS() int
func GetDateRange ¶ added in v0.0.4
TODO: need to support in different year
func GetFormatDashDate ¶ added in v0.0.4
func GetFormatSeamlessDate ¶ added in v0.0.4
func GetFormatSeamlessDate() string
func GetNumsOfDayInMonth ¶ added in v0.0.4
func GetTSByFormatDate ¶ added in v0.0.4
func IntervalDay ¶
* IntervalDay * @param int64 bt: big timestamp * @param int64 lt: little timestamp
Types ¶
Click to show internal directories.
Click to hide internal directories.