Vladimir Panteleev
6dbcf46413
std.datetime.stopwatch: Fix random test failure on Win32
2017-05-15 04:26:12 +00:00
The Dlang Bot
df0770a046
Merge pull request #5367 from jmdavis/stopwatch
...
Add the MonoTime equivalents of std.datetime.StopWatch/benchmark.
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-05-14 19:10:07 +02:00
Jonathan M Davis
522952b0c9
Fix std.datetime autotester failure for FreeBSD 10.3/11.
...
The tests fail depending on your timezone due to a known FreeBSD bug, so
we need to disable them until the bug in FreeBSD gets fixed.
2017-05-07 17:43:39 +02:00
Jonathan M Davis
90971797e6
Warn about impending deprecation of functions in std.datetime.package.
2017-05-07 10:54:25 +02:00
Jonathan M Davis
ac62197c36
Add the MonoTime equivalents of std.datetime.StopWatch/benchmark.
...
std.datetime.package has StopWatch, benchmark, comparingBenchmark, and
measureTime, all of which use TickDuration (which would be deprecated,
but it can't be deprecated as long as those functions in std.datetime
are deprecated). This commit introduces
std.datetime.stopwatch to replace those functions in std.datetime. In
order to avoid symbol conflicts, std.datetime.stopwatch will not be
publicly import in std.datetime.package until the old symbols have been
removed.
std.datetime.experimental.stopwatch contains StopWatch and benchmark
which have essentially the same APIs as the ones in
std.datetime.package, but they use MonoTime and Duration.
comparingBenchmark has not been ported to MonoTime and Duration, because
it is simply a wrapper around benchmark.
measureTime has not been ported to MonoTime and Duration, because it is
equivalent to using StopWatch with a scope(exit) statement.
The old functionality will be deprecated the major release after the new
symbols have been introduced.
2017-05-07 10:54:25 +02:00
Sebastian Wilzbach
3d6b8bb436
Fix Ddoc links in std.datetime
2017-05-06 22:04:58 +02:00
Jonathan M Davis
b7bb3bcc46
Fix links in std.datetime.
2017-05-06 16:48:09 +02:00
Jonathan M Davis
3042d4fe7a
Remove std.datetime.common,datetime,timeofday.
2017-05-06 16:48:09 +02:00
Jonathan M Davis
10a7292b6b
Remove uses of common, datetime, and timeofday.
2017-05-06 16:48:09 +02:00
Jonathan M Davis
6027d7b449
Move stray functionality in std.datetime.common to std.datetime.date.
2017-05-06 16:48:09 +02:00
Jonathan M Davis
7c18f68e04
Move DateTime to std.datetime.date.
2017-05-06 14:55:21 +02:00
Jonathan M Davis
3ebc4ec4ff
Move TimeOfDay to std.datetime.date.
2017-05-06 14:39:01 +02:00
Jonathan M Davis
491d76d8a6
Fixes to make circleci happy.
2017-05-05 21:47:02 +02:00
Jonathan M Davis
6e2f88a806
Fix links in std.datetime.
2017-05-05 21:47:02 +02:00
Jonathan M Davis
609a7c9f84
Remove some unused private functions.
2017-05-05 21:47:02 +02:00
Jonathan M Davis
4e53896631
Move stray SysTime-related functions to std.datetime.systime.
2017-05-05 21:47:02 +02:00
Jonathan M Davis
10611d68b1
Move Clock to std.datetime.systime.
2017-05-05 21:47:02 +02:00
Jonathan M Davis
27943964f4
Move SysTime to std.datetime.systime.
2017-05-05 21:47:02 +02:00
Jonathan M Davis
d1471c2699
Move DateTime to std.datetime.datetime.
2017-05-04 17:37:02 +02:00
Jonathan M Davis
2d8e563053
Move Date to std.datetime.date.
2017-05-04 16:07:27 +02:00
Jonathan M Davis
657b356db0
Move TimeOfDay to std.datetime.timeofday.
2017-05-04 14:40:52 +02:00
Jonathan M Davis
858acecf5c
Move timezone-related free functions to std.datetime.timezone.
2017-05-04 14:40:52 +02:00
Jonathan M Davis
abf9fb12c9
Move WindowsTimeZone to std.datetime.timezone.
2017-05-04 11:27:39 +02:00
Jonathan M Davis
13716774f4
Move PosixTimeZone to std.datetime.timezone.
2017-05-04 11:23:00 +02:00
Jonathan M Davis
caa0233e20
Move SimpleTimeZone to std.datetime.timezone.
2017-05-04 10:54:10 +02:00
Jonathan M Davis
b2a1bcfe96
Move UTC to std.datetime.timezone.
2017-05-04 10:44:20 +02:00
Jonathan M Davis
c98a74391c
Move LocalTime to std.datetime.timezone.
2017-05-04 10:41:10 +02:00
Jonathan M Davis
93940b4374
Move TimeZone to std.datetime.timezone.
2017-05-04 10:23:24 +02:00
Jonathan M Davis
dcb04f4241
Move NegInfInterval to std.datetime.interval.
2017-05-04 10:00:30 +02:00
Jonathan M Davis
d293268427
Move PosInfIntervalRange to std.datetime.interval.
2017-05-04 10:00:30 +02:00
Jonathan M Davis
c53a6178a6
Move IntervalRange to std.datetime.interval.
2017-05-04 10:00:29 +02:00
Jonathan M Davis
92622c0f4c
Move interval functions to std.datetime.interval.
2017-05-04 10:00:29 +02:00
Jonathan M Davis
bad1fbf1b9
Move NegInfInterval to std.datetime.interval.
2017-05-04 10:00:29 +02:00
Jonathan M Davis
9d6388a589
Move PosInfInterval to std.datetime.interval.
2017-05-04 10:00:29 +02:00
Jonathan M Davis
2b03373d8f
Move Interval to std.datetime.interval.
2017-05-04 10:00:29 +02:00
Jonathan M Davis
f9da3c1c13
Move several items from std/datetime/package.d to std/datetime/common.d.
2017-05-04 10:00:24 +02:00
Jonathan M Davis
e532c4f155
Create the new (empty) files in std/datetime for the split.
2017-05-03 09:44:04 +02:00
Jonathan M Davis
8ceb2542e1
Move std/datetime.d into std/datetime/package.d.
2017-05-03 09:44:04 +02:00
Ilya Yaroshenko
b4fbef74c9
remove binary files
2014-11-17 03:57:04 +03:00
Ilya Yaroshenko
29febefa87
add local import
2014-11-12 15:53:00 +03:00