TickDuration.from
TickDuration from(string units)(long length) if (units == "seconds" ||
units == "msecs" ||
units == "usecs" ||
units == "hnsecs" ||
units == "nsecs") @safe pure nothrow @nogcThis allows you to construct a TickDuration from the given time units with the given length.
Parameters
units | The time units of the TickDuration (e.g. "msecs"). |
length | The number of units in the TickDuration. |