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.2.1.16 tracks/go/exercises/leap/example.go
trackler-2.2.1.15 tracks/go/exercises/leap/example.go
trackler-2.2.1.14 tracks/go/exercises/leap/example.go
trackler-2.2.1.13 tracks/go/exercises/leap/example.go
trackler-2.2.1.12 tracks/go/exercises/leap/example.go
trackler-2.2.1.11 tracks/go/exercises/leap/example.go
trackler-2.2.1.10 tracks/go/exercises/leap/example.go
trackler-2.2.1.9 tracks/go/exercises/leap/example.go
trackler-2.2.1.8 tracks/go/exercises/leap/example.go
trackler-2.2.1.7 tracks/go/exercises/leap/example.go
trackler-2.2.1.6 tracks/go/exercises/leap/example.go
trackler-2.2.1.5 tracks/go/exercises/leap/example.go
trackler-2.2.1.4 tracks/go/exercises/leap/example.go
trackler-2.2.1.3 tracks/go/exercises/leap/example.go
trackler-2.2.1.2 tracks/go/exercises/leap/example.go
trackler-2.2.1.1 tracks/go/exercises/leap/example.go
trackler-2.2.1.0 tracks/go/exercises/leap/example.go
trackler-2.2.0.6 tracks/go/exercises/leap/example.go
trackler-2.2.0.5 tracks/go/exercises/leap/example.go
trackler-2.2.0.4 tracks/go/exercises/leap/example.go