Home
last modified time | relevance | path

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

/netbsd/external/bsd/ntp/dist/tests/libntp/
H A Dcaljulian.c100 u_long testDate = 3485080800UL; // 2010-06-09 14:00:00 in test_RegularTime() local
105 caljulian(testDate, &actual); in test_RegularTime()
H A Dcalendar.c436 int32 testDate = 1; /* 0001-01-01 (proleptic date) */ in test_RataDie1() local
440 ntpcal_rd_to_date(&actual, testDate); in test_RataDie1()
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Ddate.d3644 testDate(Date(1999, 1 , 1), 1999, Month.jan, 1);
3645 testDate(Date(1999, 7 , 1), 1999, Month.jul, 1);
3646 testDate(Date(1999, 7 , 6), 1999, Month.jul, 6);
4222 static void testDate(Date date, int day) in testDate() function
4228 assertThrown!DateTimeException(testDate(Date(1, 1, 1), 0));
4229 assertThrown!DateTimeException(testDate(Date(1, 1, 1), 32));
4230 assertThrown!DateTimeException(testDate(Date(1, 2, 1), 29));
4231 assertThrown!DateTimeException(testDate(Date(4, 2, 1), 30));
4232 assertThrown!DateTimeException(testDate(Date(1, 3, 1), 32));
4233 assertThrown!DateTimeException(testDate(Date(1, 4, 1), 31));
[all …]
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Ddate.d3796 testDate(Date(1999, 1 , 1), 1999, Month.jan, 1);
3797 testDate(Date(1999, 7 , 1), 1999, Month.jul, 1);
3798 testDate(Date(1999, 7 , 6), 1999, Month.jul, 6);
4374 static void testDate(Date date, int day) in testDate() function
4380 assertThrown!DateTimeException(testDate(Date(1, 1, 1), 0));
4381 assertThrown!DateTimeException(testDate(Date(1, 1, 1), 32));
4382 assertThrown!DateTimeException(testDate(Date(1, 2, 1), 29));
4383 assertThrown!DateTimeException(testDate(Date(4, 2, 1), 30));
4384 assertThrown!DateTimeException(testDate(Date(1, 3, 1), 32));
4385 assertThrown!DateTimeException(testDate(Date(1, 4, 1), 31));
[all …]