Sha256: 4df5414b976399dd2e93b490471ea3216ad4d3895bd4b28d218d6e9673e4f45f
Contents?: true
Size: 169 Bytes
Versions: 165
Compression:
Stored size: 169 Bytes
Contents
case class Year(year: Int) { lazy val isLeap: Boolean = divisibleBy(4) && (divisibleBy(400) || !divisibleBy(100)) private def divisibleBy(i: Int) = year % i == 0 }
Version data entries
165 entries across 165 versions & 1 rubygems