totime

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextMonths

func NextMonths(base time.Time, count int) (startDate time.Time, endDate time.Time)

func NextWeeks

func NextWeeks(base time.Time, count int) (startDate time.Time, endDate time.Time)

func NextYears

func NextYears(base time.Time, count int) (startDate time.Time, endDate time.Time)

func PrevMonths

func PrevMonths(base time.Time, count int) (startDate time.Time, endDate time.Time)

func PrevWeeks

func PrevWeeks(base time.Time, count int) (startDate time.Time, endDate time.Time)

func PrevYears

func PrevYears(base time.Time, count int) (startDate time.Time, endDate time.Time)

func ThisMonth

func ThisMonth(base time.Time) (startDate time.Time, endDate time.Time)

func ThisWeek

func ThisWeek(base time.Time) (startDate time.Time, endDate time.Time)

func ThisYear

func ThisYear(base time.Time) (startDate time.Time, endDate time.Time)

Types

This section is empty.

Jump to

Keyboard shortcuts

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