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
- Function FracSec.nsecs
Function FracSec.nsecs
The value of this
as FracSec
nsecs
.
Note that this does not give you any greater precision
than getting the value of this
as FracSec
hnsecs
.
Prototype
int nsecs() pure nothrow @property @nogc @safe const;
Function FracSec.nsecs
The value of this
as FracSec
nsecs
.
Note that this does not give you any greater precision
than setting the value of this
as FracSec
hnsecs
.
Prototype
void nsecs( long nsecs ) pure @property @safe;
Parameters
Name | Description |
---|---|
nsecs | The number of nsecs passed the second. |
Throws
if the given value is not less than TimeException
1
second
and greater than a -1
seconds
.
Authors
Jonathan M Davis and Kato Shoichi