Documentation
¶
Index ¶
- func AddTimeProto(to time.Time, tg runtimev1.TimeGrain, count int) time.Time
- func ApproximateBins(start, end time.Time, tg TimeGrain) int
- func CeilTime(start time.Time, tg TimeGrain, tz *time.Location, firstDay, firstMonth int) time.Time
- func CopyTimeComponentsUntil(src, tar time.Time, until TimeGrain) time.Time
- func OffsetTime(tm time.Time, tg TimeGrain, n int) time.Time
- func TruncateTime(start time.Time, tg TimeGrain, tz *time.Location, firstDay, firstMonth int) time.Time
- type TimeGrain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTimeProto ¶ added in v0.58.0
func ApproximateBins ¶ added in v0.58.0
func CopyTimeComponentsUntil ¶ added in v0.60.7
CopyTimeComponentsUntil Copies components of `src` into `tar` starting from year and going down all the way to `until` (inclusive).
Types ¶
Click to show internal directories.
Click to hide internal directories.