Documentation
¶
Index ¶
- func CreatePartition(t0, t1 time.Time, p Interval, n int) []time.Time
- func Date(year int, month time.Month, day int) time.Time
- func EndOf(d time.Time, p Interval) time.Time
- func Map(part []time.Time) func(time.Time) time.Time
- func StartOf(d time.Time, p Interval) time.Time
- func Today() time.Time
- type Interval
- type Period
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePartition ¶ added in v0.0.16
Types ¶
type Period ¶
Period represents a time period
func Periods ¶
Periods returns a series of periods in the given interval, which contains both t0 and t1.
func PeriodsN ¶ added in v0.0.16
Periods returns a series of periods in the given interval, which contains both t0 and t1.
Click to show internal directories.
Click to hide internal directories.