Home
last modified time | relevance | path

Searched refs:toISOString (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Ddate.d2877 string toISOString() const @safe pure nothrow in toISOString() function
2883 toISOString(w); in toISOString()
2890 void toISOString(W)(ref W writer) const
2894 _date.toISOString(writer);
2906 assert(DateTime(Date(2010, 7, 4), TimeOfDay(7, 6, 12)).toISOString() ==
2909 assert(DateTime(Date(1998, 12, 25), TimeOfDay(2, 15, 0)).toISOString() ==
2912 assert(DateTime(Date(0, 1, 5), TimeOfDay(23, 9, 59)).toISOString() ==
2915 assert(DateTime(Date(-4, 1, 5), TimeOfDay(0, 0, 2)).toISOString() ==
2922 assert(DateTime(Date(9, 12, 4), TimeOfDay(0, 0, 0)).toISOString() == "00091204T000000");
2923 assert(DateTime(Date(99, 12, 4), TimeOfDay(5, 6, 12)).toISOString() == "00991204T050612");
[all …]
H A Dsystime.d75 assert(ny.toISOString() == "20180101T103000-05:00");
8182 Previously, toISOString did the same as $(LREF toISOExtString) and
8189 writing out the result of toISOString to read in later will continue
8199 string toISOString() @safe const nothrow scope
8205 toISOString(app);
8212 void toISOString(W)(ref W writer) const scope
8235 dateTime.toISOString(writer);
8242 dateTime.toISOString(writer);
8250 dateTime.toISOString(writer);
8261 assert(SysTime(DateTime(2010, 7, 4, 7, 6, 12)).toISOString() ==
[all …]
H A Dpackage.d107 assert(dt.toISOString() == "20180101T123010");
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Ddate.d2795 string toISOString() const @safe pure nothrow in toISOString() function
2801 _date.toISOString(), in toISOString()
2816 assert(DateTime(Date(2010, 7, 4), TimeOfDay(7, 6, 12)).toISOString() ==
2819 assert(DateTime(Date(1998, 12, 25), TimeOfDay(2, 15, 0)).toISOString() ==
2822 assert(DateTime(Date(0, 1, 5), TimeOfDay(23, 9, 59)).toISOString() ==
2825 assert(DateTime(Date(-4, 1, 5), TimeOfDay(0, 0, 2)).toISOString() ==
2832 assert(DateTime(Date(9, 12, 4), TimeOfDay(0, 0, 0)).toISOString() == "00091204T000000");
2833 assert(DateTime(Date(99, 12, 4), TimeOfDay(5, 6, 12)).toISOString() == "00991204T050612");
2834 … assert(DateTime(Date(999, 12, 4), TimeOfDay(13, 44, 59)).toISOString() == "09991204T134459");
2835 … assert(DateTime(Date(9999, 7, 4), TimeOfDay(23, 59, 59)).toISOString() == "99990704T235959");
[all …]