https://issues.dlang.org/show_bug.cgi?id=13720
--- Comment #2 from Maxim Fomin <[email protected]> --- module std.datetime; import core.time; import std.exception; struct SysTime { this(in TimeOfDay dateTime, in FracSec fracSec) { } /+deprecated+/ unittest { assertThrown!Exception(SysTime(TimeOfDay.init, FracSec.from!"hnsecs"(-1))); } } struct TimeOfDay { public pure nothrow @safe @nogc ~this() { } ubyte _hour; ubyte _minute; ubyte _second; } FracSec seems to be important. --
