Sha256: bcf99bc51ff51db40f2df209dedc1003747de2d53d0bf8cfdfae2855367e5a95

Contents?: true

Size: 187 Bytes

Versions: 181

Compression:

Stored size: 187 Bytes

Contents

module gigasecond;

import std.datetime;
import core.time : seconds;

enum Gigasecond = seconds(10^^9);

DateTime gsAnniversary(in DateTime start) pure {
    return start + Gigasecond;
}

Version data entries

181 entries across 181 versions & 1 rubygems

Version Path
trackler-2.0.7.0 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.44 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.43 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.42 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.41 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.40 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.39 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.38 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.37 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.36 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.35 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.34 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.33 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.32 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.31 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.30 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.29 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.28 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.27 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.6.26 tracks/dlang/exercises/gigasecond/gigasecond_example.d