View source code Display the source code in std/datetime.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.

std.datetime.sys_time.frac_sec - multiple declarations

Function SysTime.fracSec

Scheduled for deprecation. Please use fracSecs instead of fracSec. It uses a core.time.Duration to represent the fractional seconds instead of a core.time.FracSec. This overload will be deprecated in 2.068.

Fractional seconds past the second.

Prototype

void fracSec(
  FracSec fracSec
) @property @safe;

Parameters

NameDescription
fracSec The fractional seconds to set this SysTime's fractional seconds to.

Throws

DateTimeException if fracSec is negative.

Function SysTime.fracSec

Scheduled for deprecation. Please use fracSecs instead of fracSec. It uses a core.time.Duration to represent the fractional seconds instead of a core.time.FracSec. This overload will be deprecated in 2.068.

Fractional seconds past the second.

Prototype

FracSec fracSec() nothrow @property @safe const;

Authors

Jonathan M Davis and Kato Shoichi

License

Boost License 1.0.

Comments