View source code Display the source code in core/time.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

core.time.frac_sec.nsecs - multiple declarations

Function FracSec.nsecs

The value of this FracSec as nsecs.

Note that this does not give you any greater precision than getting the value of this FracSec as hnsecs.

Prototype

int nsecs() pure nothrow @property @nogc @safe const;

Function FracSec.nsecs

The value of this FracSec as nsecs.

Note that this does not give you any greater precision than setting the value of this FracSec as hnsecs.

Prototype

void nsecs(
  long nsecs
) pure @property @safe;

Parameters

NameDescription
nsecs The number of nsecs passed the second.

Throws

TimeException if the given value is not less than 1 second and greater than a -1 seconds.

Authors

Jonathan M Davis and Kato Shoichi

License

Boost License 1.0.

Comments