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.0.10 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.9 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.8 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.7 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.6 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.5 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.4 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.3 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.2 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.1 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-2.0.0.0 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.4.1 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.4.0 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.3.0 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.2.1 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.2.0 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.1.2 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.1.1 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.1.0 tracks/dlang/exercises/gigasecond/gigasecond_example.d
trackler-1.0.0.1 tracks/dlang/exercises/gigasecond/gigasecond_example.d