Sha256: 308f87a39107a27533a898922cd1346d2a37f5604c423558439d98a1db3031ef

Contents?: true

Size: 114 Bytes

Versions: 207

Compression:

Stored size: 114 Bytes

Contents

package leap

const testVersion = 3

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

Version data entries

207 entries across 207 versions & 1 rubygems

Version Path
trackler-2.1.0.18 tracks/go/exercises/leap/example.go
trackler-2.1.0.17 tracks/go/exercises/leap/example.go
trackler-2.1.0.16 tracks/go/exercises/leap/example.go
trackler-2.1.0.15 tracks/go/exercises/leap/example.go
trackler-2.1.0.14 tracks/go/exercises/leap/example.go
trackler-2.1.0.13 tracks/go/exercises/leap/example.go
trackler-2.1.0.12 tracks/go/exercises/leap/example.go
trackler-2.1.0.11 tracks/go/exercises/leap/example.go
trackler-2.1.0.10 tracks/go/exercises/leap/example.go
trackler-2.1.0.9 tracks/go/exercises/leap/example.go
trackler-2.1.0.8 tracks/go/exercises/leap/example.go
trackler-2.1.0.7 tracks/go/exercises/leap/example.go
trackler-2.1.0.6 tracks/go/exercises/leap/example.go
trackler-2.1.0.5 tracks/go/exercises/leap/example.go
trackler-2.1.0.4 tracks/go/exercises/leap/example.go
trackler-2.1.0.3 tracks/go/exercises/leap/example.go
trackler-2.1.0.2 tracks/go/exercises/leap/example.go
trackler-2.1.0.1 tracks/go/exercises/leap/example.go
trackler-2.1.0.0 tracks/go/exercises/leap/example.go
trackler-2.0.8.55 tracks/go/exercises/leap/example.go