Searched refs:Date (Results 1 - 25 of 35) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Dinterval.d108 Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1));
132 assert(Interval!Date(Date(1996, 1, 2), dur!"days"(3)) ==
133 Interval!Date(Date(1996, 1, 2), Date(1996, 1, 5)));
175 assert(Interval!Date(Date(199
[all...]
H A Ddate.d100 Combines the $(REF Date,std,datetime,date) and
118 this(in Date date, in TimeOfDay tod = TimeOfDay.init) @safe pure nothrow @nogc
128 assert(dt._date == Date.init);
133 auto dt = DateTime(Date(1999, 7 ,6));
134 assert(dt._date == Date(1999, 7, 6));
139 auto dt = DateTime(Date(1999, 7 ,6), TimeOfDay(12, 30, 33));
140 assert(dt._date == Date(1999, 7, 6));
157 _date = Date(year, month, day);
165 assert(dt._date == Date(1999, 7, 6));
171 assert(dt._date == Date(199
[all...]
H A Dsystime.d304 To convert a $(D SysTime) to a $(REF Date,std,datetime,date) or
306 $(REF Date,std,datetime,date) or $(REF DateTime,std,datetime,date) to a
406 immutable dateDiff = dateTime.date - Date.init;
441 date = The $(REF Date,std,datetime,date) to use to set this
443 $(REF Date,std,datetime,date) has no concept of time zone, tz
448 given $(REF Date,std,datetime,date) is assumed to be in the
451 this(in Date date, immutable TimeZone tz = null) @safe nothrow
457 immutable adjustedTime = (date - Date(1, 1, 1)).total!"hnsecs";
463 assert(0, "Date's constructor through when it shouldn't have.");
468 static void test(Date
[all...]
H A Dpackage.d4 Module containing Date/Time functionality.
10 $(REF Date,std,_datetime,date),
52 $(REF Date,std,_datetime,date) (if they want dates but don't care about
57 $(REF Date,std,_datetime,date) and $(REF DateTime,std,_datetime,date) are
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-current/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Dinterval.d136 Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1));
160 assert(Interval!Date(Date(1996, 1, 2), dur!"days"(3)) ==
161 Interval!Date(Date(1996, 1, 2), Date(1996, 1, 5)));
203 assert(Interval!Date(Date(199
[all...]
H A Ddate.d9 $(LREF Date)
17 $(TR $(TD Date checking) $(TD
24 $(TR $(TD Date conversion) $(TD
87 assert(Date(2018, 10, 1).month == Month.oct);
109 assert(Date(2018, 10, 1).dayOfWeek == DayOfWeek.mon);
147 Combines the $(REF Date,std,datetime,date) and
166 this(Date date, TimeOfDay tod = TimeOfDay.init) @safe pure nothrow @nogc
176 assert(dt._date == Date.init);
181 auto dt = DateTime(Date(1999, 7 ,6));
182 assert(dt._date == Date(199
[all...]
H A Dsystime.d82 import std.datetime.date;// : _monthNames, AllowDayOverflow, CmpTimeUnits, Date,
483 To convert a `SysTime` to a $(REF Date,std,datetime,date) or
485 $(REF Date,std,datetime,date) or $(REF DateTime,std,datetime,date) to a
590 immutable dateDiff = dateTime.date - Date.init;
631 date = The $(REF Date,std,datetime,date) to use to set this
633 $(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";
653 assert(0, "Date'
[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);
H A Dtimezone.d761 import std.datetime.date : Date;
762 auto currYear = (cast(Date) Clock.currTime()).year;
763 auto janOffset = SysTime(Date(currYear, 1, 4), cast(immutable) this).stdTime -
764 SysTime(Date(currYear, 1, 4), UTC()).stdTime;
765 auto julyOffset = SysTime(Date(currYear, 7, 4), cast(immutable) this).stdTime -
766 SysTime(Date(currYear, 7, 4), UTC()).stdTime;
1192 import std.datetime.date : Date;
1193 auto std = SysTime(Date(2010, 1, 1));
1194 auto dst = SysTime(Date(2010, 7, 1));
1225 import std.datetime.date : Date;
[all...]
/netbsd-current/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(198
[all...]
/netbsd-current/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(198
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DPrettyBuiltinDumper.cpp75 case PDB_BuiltinType::Date:
/netbsd-current/external/gpl2/texinfo/dist/makeinfo/tests/
H A Dmenu-whitespace11 Date: 07 Dec 1998 11:23:44 +0100
/netbsd-current/external/gpl2/xcvs/dist/contrib/
H A Drcs2sccs.sh44 s,;Date;,%E%,g
49 s,;Date:.*;,%E%,g
H A Dsccs2rcs.in32 # + Date, time, author, comments, branches, are all preserved.
136 '$'Date'$'\
137 '$'Date'$'\
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/tests/
H A Dxgettext-java-265 grep -v 'POT-Creation-Date' < xg-j-2.tmp > xg-j-2.pot
79 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
/netbsd-current/external/gpl2/rcs/dist/src/
H A Drcskeep.c191 case Date:
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.hash/
H A Dtest_hash.d86 static struct Date
92 Date date;
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.hash/
H A Dtest_hash.d94 static struct Date
100 Date date;
/netbsd-current/external/gpl2/gmake/dist/
H A Darscan.c267 # define ar_date Date
833 printf (_(" Date %s"), ctime (&date));
/netbsd-current/sys/external/bsd/gnu-efi/dist/inc/ia32/
H A Dpe.h536 UINT8 Date[12]; // File member date - decimal. member in struct:_IMAGE_ARCHIVE_MEMBER_HEADER
/netbsd-current/sys/external/bsd/gnu-efi/dist/inc/ia64/
H A Dpe.h542 UINT8 Date[12]; // File member date - decimal. member in struct:_IMAGE_ARCHIVE_MEMBER_HEADER
/netbsd-current/sys/external/bsd/gnu-efi/dist/inc/x86_64/
H A Dpe.h536 UINT8 Date[12]; // File member date - decimal. member in struct:_IMAGE_ARCHIVE_MEMBER_HEADER
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h348 Date = 26, member in class:llvm::pdb::PDB_Checksum::PDB_StackFrameType::PDB_MemoryType::PDB_BuiltinType
/netbsd-current/external/apache2/llvm/dist/llvm/utils/release/
H A Dbuild_llvm_package.bat27 for /f "usebackq" %%i in (`PowerShell ^(Get-Date^).ToString^('yyyyMMdd'^)`) do set datestamp=%%i

Completed in 283 milliseconds

12