Versions in this module Expand all Collapse all v0 v0.0.2 Jun 24, 2025 v0.0.1 Jun 21, 2025 Changes in this version + var ErrCantReplace = errors.New("can't replace") + var ErrCantValidate = errors.New("can't validate") + var ErrContainsNil = errors.New("contains nil") + var ErrNoPattern = errors.New("no pattern detected") + var ErrValidationFailed = errors.New("validation failed") + func GuessTimeFreq(ctx context.Context, ts *dataframe.SeriesTime, opts ...GuessTimeFreqOptions) (string, bool, error) + func NewSeriesTime(ctx context.Context, name string, timeFreq string, startTime time.Time, ...) (*dataframe.SeriesTime, error) + func ValidateSeriesTime(ctx context.Context, ts *dataframe.SeriesTime, timeFreq string, ...) error + type GuessTimeFreqOptions struct + DontLock bool + Hint string + R *dataframe.Range + type MissingValueOption int + const Error + const Replace + const Tolerate + type NewSeriesTimeOptions struct + Size *int + Until *time.Time + type NextTime func() time.Time + type TimeGenerator func(startTime time.Time, reverse bool) NextTime + func TimeIntervalGenerator(timeFreq string) (TimeGenerator, error) + type ValidateSeriesTimeOptions struct + DontLock bool + MissingValue MissingValueOption