Sha256: 972a801473fb30cd7217d7a5864b56e5fccd9e55d8c943fd96d5280a580eb366

Contents?: true

Size: 152 Bytes

Versions: 374

Compression:

Stored size: 152 Bytes

Contents

import groovy.time.TimeCategory

class Gigasecond {

    static Date from(Date date) {
        use ( TimeCategory ) { date + (10**9).seconds }
    }

}

Version data entries

374 entries across 374 versions & 1 rubygems

Version Path
trackler-2.0.4.0 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.9 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.8 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.7 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.6 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.5 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.4 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.3 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.2 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.1 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.3.0 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.2.0 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.1.2 tracks/groovy/exercises/gigasecond/Example.groovy
trackler-2.0.1.1 tracks/groovy/exercises/gigasecond/Example.groovy