dates

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDayEnd

func GetDayEnd(d time.Time) time.Time

GetDayEnd returns specified day end time.

func GetDayStart

func GetDayStart(d time.Time) time.Time

GetDayStart returns specified day start time.

func GetTimeAddDays added in v1.3.1

func GetTimeAddDays(d time.Time, days int) time.Time

GetTimeAddDays returns specified time by add days.

func GetTimeAddHours added in v1.3.1

func GetTimeAddHours(d time.Time, hours int) time.Time

GetTimeAddHours returns specified time by add hours.

func GetTimeAddMinutes added in v1.3.1

func GetTimeAddMinutes(d time.Time, minutes int) time.Time

GetTimeAddMinutes returns specified time by add minutes.

func GetTimeAddMonths added in v1.3.1

func GetTimeAddMonths(d time.Time, months int) time.Time

GetTimeAddMonths returns specified time by add months.

func GetTimeAddSeconds added in v1.3.1

func GetTimeAddSeconds(d time.Time, seconds int) time.Time

GetTimeAddSeconds returns specified time by add seconds.

func GetTimeAddYears added in v1.3.1

func GetTimeAddYears(d time.Time, years int) time.Time

GetTimeAddYears returns specified time by add years.

func GetTodayEnd

func GetTodayEnd() time.Time

GetTodayEnd returns today end time.

func GetTodayStart

func GetTodayStart() time.Time

GetTodayStart returns today start time.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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