Documentation ¶
Index ¶
- func GetDayEnd(d time.Time) time.Time
- func GetDayStart(d time.Time) time.Time
- func GetTimeAddDays(d time.Time, days int) time.Time
- func GetTimeAddHours(d time.Time, hours int) time.Time
- func GetTimeAddMinutes(d time.Time, minutes int) time.Time
- func GetTimeAddMonths(d time.Time, months int) time.Time
- func GetTimeAddSeconds(d time.Time, seconds int) time.Time
- func GetTimeAddYears(d time.Time, years int) time.Time
- func GetTodayEnd() time.Time
- func GetTodayStart() time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDayStart ¶
GetDayStart returns specified day start time.
func GetTimeAddDays ¶ added in v1.3.1
GetTimeAddDays returns specified time by add days.
func GetTimeAddHours ¶ added in v1.3.1
GetTimeAddHours returns specified time by add hours.
func GetTimeAddMinutes ¶ added in v1.3.1
GetTimeAddMinutes returns specified time by add minutes.
func GetTimeAddMonths ¶ added in v1.3.1
GetTimeAddMonths returns specified time by add months.
func GetTimeAddSeconds ¶ added in v1.3.1
GetTimeAddSeconds returns specified time by add seconds.
func GetTimeAddYears ¶ added in v1.3.1
GetTimeAddYears returns specified time by add years.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.