Sha256: d3fae9512b4420c7720bcada779df10e1a5315771c51a32b2820af5e241af295

Contents?: true

Size: 109 Bytes

Versions: 21

Compression:

Stored size: 109 Bytes

Contents

import times

proc add_gigasecond*(date: DateTime): DateTime =
    date + initInterval(seconds=1_000_000_000)

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.158 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.157 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.156 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.155 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.154 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.153 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.152 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.151 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.150 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.149 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.148 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.147 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.146 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.145 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.144 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.143 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.142 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.141 tracks/nim/exercises/gigasecond/example.nim
trackler-2.2.1.140 tracks/nim/exercises/gigasecond/example.nim