Sha256: 7abce33987a2efc7f00ded62d9f5969a645a549233c8e6ba0c6d994c5c9cf851

Contents?: true

Size: 114 Bytes

Versions: 67

Compression:

Stored size: 114 Bytes

Contents

package leap

const testVersion = 2

func IsLeapYear(i int) bool {
	return i%4 == 0 && i%100 != 0 || i%400 == 0
}

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
trackler-2.0.6.11 tracks/go/exercises/leap/example.go
trackler-2.0.6.10 tracks/go/exercises/leap/example.go
trackler-2.0.6.9 tracks/go/exercises/leap/example.go
trackler-2.0.6.8 tracks/go/exercises/leap/example.go
trackler-2.0.6.7 tracks/go/exercises/leap/example.go
trackler-2.0.6.6 tracks/go/exercises/leap/example.go
trackler-2.0.6.5 tracks/go/exercises/leap/example.go
trackler-2.0.6.4 tracks/go/exercises/leap/example.go
trackler-2.0.6.3 tracks/go/exercises/leap/example.go
trackler-2.0.6.2 tracks/go/exercises/leap/example.go
trackler-2.0.6.1 tracks/go/exercises/leap/example.go
trackler-2.0.6.0 tracks/go/exercises/leap/example.go
trackler-2.0.5.18 tracks/go/exercises/leap/example.go
trackler-2.0.5.17 tracks/go/exercises/leap/example.go
trackler-2.0.5.16 tracks/go/exercises/leap/example.go
trackler-2.0.5.15 tracks/go/exercises/leap/example.go
trackler-2.0.5.14 tracks/go/exercises/leap/example.go
trackler-2.0.5.13 tracks/go/exercises/leap/example.go
trackler-2.0.5.12 tracks/go/exercises/leap/example.go
trackler-2.0.5.11 tracks/go/exercises/leap/example.go