Versions in this module Expand all Collapse all v0 v0.0.1 Jul 2, 2024 Changes in this version + const ParseError + const TimeStyleNormal + func ParseTime(line string) int64 + func ParseTimeStyle(line string) (TimeElector, *TimeStyle) + type SimpleTimeElector struct + YearOffsetAdjust int + func (n *SimpleTimeElector) Parse(style *TimeStyle, line string, tz *time.Location) int64 + func (n *SimpleTimeElector) ParseTimeStyle(line string) *TimeStyle + type TimeElector interface + Parse func(style *TimeStyle, line string, tz *time.Location) int64 + ParseTimeStyle func(line string) *TimeStyle + type TimeElectorWrapper struct + Elector TimeElector + Style *TimeStyle + func DetectTimeElectFromLine(line string) *TimeElectorWrapper + type TimeParser struct + type TimeStyle struct + HasTimezone bool + Layout string + TimestampMillisMode bool + TimestampSecondsMode bool + YearLeft string + YearLeftIndex int