compute

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByDate added in v1.0.0

func ByDate(start, end time.Time) iter.Seq[time.Time]

func ByHour added in v1.0.0

func ByHour(start, end time.Time) iter.Seq[time.Time]

func ByMinute added in v1.0.0

func ByMinute(start, end time.Time) iter.Seq[time.Time]

func ByMonth added in v1.0.0

func ByMonth(start, end time.Time) iter.Seq[time.Time]

func ByWeek added in v1.0.0

func ByWeek(start, end time.Time) iter.Seq[time.Time]

func Date added in v1.0.0

func Date(ts time.Time) time.Time

func Hour added in v1.0.0

func Hour(ts time.Time) time.Time

func Minute added in v1.7.0

func Minute(ts time.Time) time.Time

func Month added in v1.0.0

func Month(ts time.Time) time.Time

func Range added in v1.8.0

func Range(re encoding.Resolution, start, end time.Time) iter.Seq2[int64, int64]

func Week added in v1.0.0

func Week(ts time.Time) 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