July 21 DIP Ideas » Re: Properties | |||
|---|---|---|---|
| |||
...a different access modifier for setters public DateTime BirthDate { get; private set; }. I question if... | |||
May 28 Learn » Re: Get milliseconds from time and construct time based on milliseconds | |||
|---|---|---|---|
| |||
...milliseconds.msecs; ``` https://dlang.org/phobos/std_datetime_systime.html#unixTimeToStdTime https://dlang.org/phobos... | |||
May 28 Learn » Re: Get milliseconds from time and construct time based on milliseconds | |||
|---|---|---|---|
| |||
...based on your result. Simply doing: ``` SysTime(DateTime(1970, 1, 1), UTC()) + dur!"msecs"(milliseconds... | |||
May 28 Learn » Re: Get milliseconds from time and construct time based on milliseconds | |||
|---|---|---|---|
| |||
...what you want:
import std;
import std.datetime;
import std.stdio;
void main() {
// Get the... | |||
May 28 Learn » Get milliseconds from time and construct time based on milliseconds | |||
|---|---|---|---|
| |||
...a solution to after looking at std.datetime. First question is how do I get... | |||
May 26 Issues » [Issue 24568] New: Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed | |||
|---|---|---|---|
| |||
...FAILURE, exit; import std.concurrency; import std.datetime; import std.stdio; import core.thread; void... | |||
May 14 Learn » Re: FIFO | |||
|---|---|---|---|
| |||
...in the standard library: https://dlang.org/phobos/std_datetime_stopwatch.html#benchmark SDB@79 | |||
May 10 Announce » Re: photon v0.9.0 with Go-style D-flavored channels! | |||
|---|---|---|---|
| |||
...module examples.select;
import std.range, std.datetime, std.stdio;
import photon;
void main() {
startloop... | |||
May 08 Learn » Re: Why is Phobos `Flag` so overthought ? | |||
|---|---|---|---|
| |||
...it's unambiguous. Take for example std.datetime.stopwatch: ```d import std.typecons : Flag; alias... | |||
May 03 Announce » photon v0.9.0 with Go-style D-flavored channels! | |||
|---|---|---|---|
| |||
...flavored channels:
```d
import std.algorithm, std.datetime, std.range, std.stdio;
import photon;
void... | |||
Copyright © 1999-2021 by the D Language Foundation