time/timeutil/timemore.go
TimeMore
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
type TimeMore struct {
time time.Time
weekStartDay time.Weekday
}
Method TimeMore.SeasonMeteorological
has 5 return statements (exceeds 4 allowed). Open
Open
func (tm TimeMore) SeasonMeteorological() Yearquarter {
m := tm.time.Month()
if m < 3 {
return Winter // Starts December 1
} else if m < 6 {