February 16, 2024 General » Re: A proposal: Sumtypes | |||
|---|---|---|---|
| |||
...reaons why you can't do "std.datetime.StopWatch(999l.nullable.expand, 9082l)`. You aren... | |||
February 10, 2024 Learn » Re: The difference between the dates in years | |||
|---|---|---|---|
| |||
...probably should be a function in std.datetime to handle it, but I'll have... | |||
February 10, 2024 Learn » Re: The difference between the dates in years | |||
|---|---|---|---|
| |||
...to build what you want, but std.datetime doesn't really provide a direct solution... | |||
February 10, 2024 Learn » Re: The difference between the dates in years | |||
|---|---|---|---|
| |||
IIRC you can just subtract two DateTime's to get a Duration that you can... | |||
February 05, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...contracts and extra asserts and 5 layered datetime will ever avoid rogue imports that aren... | |||
January 29, 2024 Learn » Re: Effective String to Date conversion? | |||
|---|---|---|---|
| |||
...DateTime.fromISOString [0] or DateTime.fromISOExtString [1] functions. [0] https://dlang.org/phobos/std_datetime... | |||
January 22, 2024 General » Re: Improve the OOP ABI | |||
|---|---|---|---|
| |||
...T)(scope T delegate() dg)
{
import std.datetime.stopwatch;
StopWatch sw = StopWatch(AutoStart.yes);
scope... | |||
January 22, 2024 Learn » Effective String to Date conversion? | |||
|---|---|---|---|
| |||
...to convert Date/Time-Strings to comparable DateTime-Objects. The code below works but looks... | |||
January 20, 2024 Learn » Re: Datetime format? | |||
|---|---|---|---|
| |||
Thank you. | |||
January 18, 2024 Learn » Re: Datetime format? | |||
|---|---|---|---|
| |||
...auto curTime = Clock.currTime;
auto dt = cast(DateTime) curTime;
auto fmtTime = format("%04d-%02d-%02d... | |||
Copyright © 1999-2021 by the D Language Foundation