Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Backward ¶
Backward aligns the ts to the previous ts that divides by the interval, even if it is already aligned
func BackwardIfNotAligned ¶
BackwardIfNotAligned aligns the ts to the previous ts that divides by the interval, except if it is already aligned
func Forward ¶
Forward aligns ts to the next timestamp that divides by the interval, even if it is already aligned
func ForwardIfNotAligned ¶
ForwardIfNotAligned aligns ts to the next timestamp that divides by the interval, except if it is already aligned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.