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.119 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.118 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.117 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.116 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.115 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.114 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.113 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.111 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.110 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.109 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.108 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.107 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.106 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.105 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.104 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.103 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.102 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.101 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.100 tracks/elm/exercises/gigasecond/Gigasecond.example.elm
trackler-2.2.1.99 tracks/elm/exercises/gigasecond/Gigasecond.example.elm