View source code
Display the source code in core/time.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
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.

core.time.FracSec.nsecs - multiple declarations

Function FracSec.nsecs

The value of this FracSec as nsecs.

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

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

Function FracSec.nsecs

The value of this FracSec as nsecs.

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

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

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.