Sha256: a70e67a42a6e6289e0fd5f02e21a3517938b9fe51f82cc9ac8083f60bd5dcf8b

Contents?: true

Size: 196 Bytes

Versions: 396

Compression:

Stored size: 196 Bytes

Contents

module Gigasecond exposing (add)

import Date
import Time


add : Date.Date -> Date.Date
add =
    Date.toTime >> (+) gigasecond >> Date.fromTime


gigasecond : Time.Time
gigasecond =
    10 ^ 12

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.179 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.178 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.177 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.176 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.175 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.174 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.173 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.172 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.171 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.170 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.169 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.167 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.166 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.165 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.164 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.163 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.162 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.161 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.160 tracks/elm/exercises/gigasecond/Gigasecond.example.elm