Lines Matching refs:toSimpleString

2918     string toSimpleString() const @safe pure nothrow  in toSimpleString()  function
2924 _date.toSimpleString(), in toSimpleString()
2939 assert(DateTime(Date(2010, 7, 4), TimeOfDay(7, 6, 12)).toSimpleString() ==
2942 assert(DateTime(Date(1998, 12, 25), TimeOfDay(2, 15, 0)).toSimpleString() ==
2945 assert(DateTime(Date(0, 1, 5), TimeOfDay(23, 9, 59)).toSimpleString() ==
2948 assert(DateTime(Date(-4, 1, 5), TimeOfDay(0, 0, 2)).toSimpleString() ==
2955 … assert(DateTime(Date(9, 12, 4), TimeOfDay(0, 0, 0)).toSimpleString() == "0009-Dec-04 00:00:00");
2956 … assert(DateTime(Date(99, 12, 4), TimeOfDay(5, 6, 12)).toSimpleString() == "0099-Dec-04 05:06:12");
2957 …assert(DateTime(Date(999, 12, 4), TimeOfDay(13, 44, 59)).toSimpleString() == "0999-Dec-04 13:44:59…
2958 …assert(DateTime(Date(9999, 7, 4), TimeOfDay(23, 59, 59)).toSimpleString() == "9999-Jul-04 23:59:59…
2959 …assert(DateTime(Date(10000, 10, 20), TimeOfDay(1, 1, 1)).toSimpleString() == "+10000-Oct-20 01:01:…
2962 … assert(DateTime(Date(0, 12, 4), TimeOfDay(0, 12, 4)).toSimpleString() == "0000-Dec-04 00:12:04");
2963 … assert(DateTime(Date(-9, 12, 4), TimeOfDay(0, 0, 0)).toSimpleString() == "-0009-Dec-04 00:00:00");
2964 …assert(DateTime(Date(-99, 12, 4), TimeOfDay(5, 6, 12)).toSimpleString() == "-0099-Dec-04 05:06:12"…
2965 …assert(DateTime(Date(-999, 12, 4), TimeOfDay(13, 44, 59)).toSimpleString() == "-0999-Dec-04 13:44:…
2966 …assert(DateTime(Date(-9999, 7, 4), TimeOfDay(23, 59, 59)).toSimpleString() == "-9999-Jul-04 23:59:…
2967 …assert(DateTime(Date(-10000, 10, 20), TimeOfDay(1, 1, 1)).toSimpleString() == "-10000-Oct-20 01:01…
2971 assert(cdt.toSimpleString() == "1999-Jul-06 12:30:33");
2972 assert(idt.toSimpleString() == "1999-Jul-06 12:30:33");
2989 `toISOExtString`, `toSimpleString`, or some other custom formatting
3001 return toSimpleString(); in toString()
3219 simpleString = A string formatted in the way that toSimpleString
7144 string toSimpleString() const @safe pure nothrow in toSimpleString() function
7168 assert(Date(2010, 7, 4).toSimpleString() == "2010-Jul-04");
7169 assert(Date(1998, 12, 25).toSimpleString() == "1998-Dec-25");
7170 assert(Date(0, 1, 5).toSimpleString() == "0000-Jan-05");
7171 assert(Date(-4, 1, 5).toSimpleString() == "-0004-Jan-05");
7177 assert(Date(9, 12, 4).toSimpleString() == "0009-Dec-04");
7178 assert(Date(99, 12, 4).toSimpleString() == "0099-Dec-04");
7179 assert(Date(999, 12, 4).toSimpleString() == "0999-Dec-04");
7180 assert(Date(9999, 7, 4).toSimpleString() == "9999-Jul-04");
7181 assert(Date(10000, 10, 20).toSimpleString() == "+10000-Oct-20");
7184 assert(Date(0, 12, 4).toSimpleString() == "0000-Dec-04");
7185 assert(Date(-9, 12, 4).toSimpleString() == "-0009-Dec-04");
7186 assert(Date(-99, 12, 4).toSimpleString() == "-0099-Dec-04");
7187 assert(Date(-999, 12, 4).toSimpleString() == "-0999-Dec-04");
7188 assert(Date(-9999, 7, 4).toSimpleString() == "-9999-Jul-04");
7189 assert(Date(-10000, 10, 20).toSimpleString() == "-10000-Oct-20");
7193 assert(cdate.toSimpleString() == "1999-Jul-06");
7194 assert(idate.toSimpleString() == "1999-Jul-06");
7211 `toISOExtString`, `toSimpleString`, or some other custom formatting
7223 return toSimpleString(); in toString()
7525 simpleString = A string formatted in the way that toSimpleString