Home
last modified time | relevance | path

Searched refs:Date (Results 1 – 25 of 1919) sorted by relevance

12345678910>>...77

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Dinterval.d284 assert(Interval!Date(Date(1996, 1, 2), Date(1996, 1, 2)).empty); in Interval()
285 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).empty);
306 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
307 Date(1994, 12, 24)));
309 assert(Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
310 Date(2000, 1, 5)));
311 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
312 Date(2012, 3, 1)));
334 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
335 Interval!Date(Date(1990, 7, 6), Date(2000, 8, 2))));
[all …]
H A Ddate.d9 $(LREF Date)
17 $(TR $(TD Date checking) $(TD
24 $(TR $(TD Date conversion) $(TD
475 @property void date(Date date) @safe pure nothrow @nogc in opCmp()
483 dt.date = Date(1999, 7, 6);
484 assert(dt._date == Date(1999, 7, 6));
489 static assert(!__traits(compiles, cdt.date = Date(2010, 1, 1)));
490 static assert(!__traits(compiles, idt.date = Date(2010, 1, 1)));
510 auto dt = DateTime(Date.init, TimeOfDay(12, 30, 33));
588 assert(DateTime(Date(1999, 7, 6), TimeOfDay(9, 7, 5)).year == 1999);
[all …]
H A Dsystime.d633 $(REF Date,std,datetime,date) has no concept of time zone, tz
638 given $(REF Date,std,datetime,date) is assumed to be in the
641 this(Date date, return scope immutable TimeZone tz = null) return scope @safe nothrow
647 immutable adjustedTime = (date - Date(1, 1, 1)).total!"hnsecs";
658 static void test(Date d, immutable TimeZone tz, long expected)
665 test(Date.init, UTC(), 0);
666 test(Date(1, 1, 1), UTC(), 0);
667 test(Date(1, 1, 2), UTC(), 864000000000);
668 test(Date(0, 12, 31), UTC(), -864000000000);
670 static void testScope(scope ref Date d) @safe
[all …]
H A Dpackage.d15 $(REF_ALTTEXT Date, Date, std, datetime, date)$(NBSP)
150 assert(std.datetime.Date(2010, 9, 7) + dur!"days"(5) ==
151 std.datetime.Date(2010, 9, 12));
153 assert(std.datetime.Date(2010, 9, 7) - std.datetime.Date(2010, 10, 3) ==
161 static assert(!hasUnsharedAliasing!Date);
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Dinterval.d256 assert(Interval!Date(Date(1996, 1, 2), Date(1996, 1, 2)).empty); in Interval()
257 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).empty);
278 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
279 Date(1994, 12, 24)));
281 assert(Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
282 Date(2000, 1, 5)));
283 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
284 Date(2012, 3, 1)));
306 assert(!Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).contains(
307 Interval!Date(Date(1990, 7, 6), Date(2000, 8, 2))));
[all …]
H A Ddate.d427 @property void date(in Date date) @safe pure nothrow @nogc in opCmp()
435 dt.date = Date(1999, 7, 6);
436 assert(dt._date == Date(1999, 7, 6));
441 static assert(!__traits(compiles, cdt.date = Date(2010, 1, 1)));
442 static assert(!__traits(compiles, idt.date = Date(2010, 1, 1)));
462 auto dt = DateTime(Date.init, TimeOfDay(12, 30, 33));
540 assert(DateTime(Date(1999, 7, 6), TimeOfDay(9, 7, 5)).year == 1999);
541 assert(DateTime(Date(2010, 10, 4), TimeOfDay(0, 0, 30)).year == 2010);
542 assert(DateTime(Date(-7, 4, 5), TimeOfDay(7, 45, 2)).year == -7);
553 testDT(DateTime(Date(1, 1, 1), TimeOfDay(12, 30, 33)),
[all …]
H A Dsystime.d443 $(REF Date,std,datetime,date) has no concept of time zone, tz in test()
448 given $(REF Date,std,datetime,date) is assumed to be in the in test()
451 this(in Date date, immutable TimeZone tz = null) @safe nothrow in test()
457 immutable adjustedTime = (date - Date(1, 1, 1)).total!"hnsecs"; in test()
468 static void test(Date d, immutable TimeZone tz, long expected) in test()
475 test(Date.init, UTC(), 0);
476 test(Date(1, 1, 1), UTC(), 0);
477 test(Date(1, 1, 2), UTC(), 864000000000);
478 test(Date(0, 12, 31), UTC(), -864000000000);
567 assert(SysTime(Date.init, UTC()) == SysTime(0));
[all …]
H A Dpackage.d4 Module containing Date/Time functionality.
10 $(REF Date,std,_datetime,date),
135 assert(std.datetime.Date(2010, 9, 7) + dur!"days"(5) ==
136 std.datetime.Date(2010, 9, 12));
138 assert(std.datetime.Date(2010, 9, 7) - std.datetime.Date(2010, 10, 3) ==
146 static assert(!hasUnsharedAliasing!Date);
/netbsd-src/doc/
H A DBRANCHES27 # Start Date: date first instantiated
28 # End Date: date it was Terminated/made_Dormant, if any
51 Start Date:
52 End Date:
61 Start Date:
62 End Date:
73 Start Date:
74 End Date:
84 Start Date:
85 End Date:
[all …]
/netbsd-src/external/public-domain/xz/dist/
H A DChangeLog3 Date: 2018-04-29 19:00:06 +0300
13 Date: 2018-04-29 18:48:00 +0300
22 Date: 2018-04-29 18:15:37 +0300
31 Date: 2018-02-06 19:36:30 +0200
40 Date: 2018-01-29 13:58:18 -0500
52 Date: 2018-02-06 18:02:48 +0200
66 Date: 2018-01-10 22:10:39 +0200
75 Date: 2018-01-10 21:54:27 +0200
86 Date: 2017-09-24 20:04:24 +0300
95 Date: 2017-09-16 20:36:20 +0300
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dcomparison.d573 import std.datetime : Date;
574 assert(clamp(Date(1982, 1, 4), Date(1012, 12, 21), Date(2012, 12, 21)) == Date(1982, 1, 4));
575 assert(clamp(Date(1982, 1, 4), Date.min, Date.max) == Date(1982, 1, 4));
577 assert(Date(1982, 1, 4).clamp(Date.min, Date.max) == Date(1982, 1, 4));
1444 import std.datetime : Date;
1445 assert(max(Date(2012, 12, 21), Date(1982, 1, 4)) == Date(2012, 12, 21));
1446 assert(max(Date(1982, 1, 4), Date(2012, 12, 21)) == Date(2012, 12, 21));
1447 assert(max(Date(1982, 1, 4), Date.min) == Date(1982, 1, 4));
1448 assert(max(Date.min, Date(1982, 1, 4)) == Date(1982, 1, 4));
1449 assert(max(Date(1982, 1, 4), Date.max) == Date.max);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dcomparison.d624 import std.datetime : Date;
625 assert(clamp(Date(1982, 1, 4), Date(1012, 12, 21), Date(2012, 12, 21)) == Date(1982, 1, 4));
626 assert(clamp(Date(1982, 1, 4), Date.min, Date.max) == Date(1982, 1, 4));
628 assert(Date(1982, 1, 4).clamp(Date.min, Date.max) == Date(1982, 1, 4));
1705 import std.datetime : Date;
1706 assert(max(Date(2012, 12, 21), Date(1982, 1, 4)) == Date(2012, 12, 21));
1707 assert(max(Date(1982, 1, 4), Date(2012, 12, 21)) == Date(2012, 12, 21));
1708 assert(max(Date(1982, 1, 4), Date.min) == Date(1982, 1, 4));
1709 assert(max(Date.min, Date(1982, 1, 4)) == Date(1982, 1, 4));
1710 assert(max(Date(1982, 1, 4), Date.max) == Date.max);
[all …]
/netbsd-src/external/gpl2/groff/dist/contrib/mm/examples/
H A DND6 Date = \*[DT]
8 Date = \*[DT]
12 Date = \*[DT]
16 Date = \*[DT]
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Djs_objgc_example.txt18 func_clock.html 1 Date
21 func_clock.html 2 Date
24 func_clock.html 3 Date
27 func_clock.html 4 Date
30 func_clock.html 5 Date
35 func_clock.html 6 Date
41 func_clock.html 7 Date
52 func_clock.html 7 Date
78 func_clock.html 8 Date
135 func_clock.html 42 Date
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Djs_objgc_example.txt18 func_clock.html 1 Date
21 func_clock.html 2 Date
24 func_clock.html 3 Date
27 func_clock.html 4 Date
30 func_clock.html 5 Date
35 func_clock.html 6 Date
41 func_clock.html 7 Date
52 func_clock.html 7 Date
78 func_clock.html 8 Date
135 func_clock.html 42 Date
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/cleanup/
H A Dcleanup_milter.in314 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
26 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
27 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
43 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
55 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
56 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
/netbsd-src/sys/external/bsd/gnu-efi/dist/
H A DChangeLog7 Date: Thu May 14 12:38:39 2015 -0400
16 Date: Thu May 14 12:20:51 2015 -0400
33 Date: Fri Apr 10 08:49:50 2015 -0400
41 Date: Fri Apr 10 08:46:40 2015 -0400
52 Date: Mon Mar 23 10:41:43 2015 -0400
63 Date: Thu Feb 19 11:22:45 2015 -0500
82 Date: Tue Jan 6 15:49:50 2015 -0500
92 Date: Mon Jan 5 13:20:43 2015 -0500
100 Date: Mon Jan 5 13:13:22 2015 -0500
103 Date: Wed, 10 Dec 2014 21:08:34 +0000
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/external/bsd/flex/dist/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/external/gpl2/texinfo/dist/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/external/gpl2/gmake/dist/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/crypto/external/cpl/tpm-tools/dist/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/external/gpl2/diffutils/dist/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/po/
H A Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
6 /^"POT-Creation-Date: .*"$/{

12345678910>>...77