Lines Matching full:date

14 double RoundDownDate(double date) {  in RoundDownDate()  argument
15 return date - fmod(date, 86400000); in RoundDownDate()
30 double date; in TEST_F() local
34 date = CJS_PublicMethods::MakeRegularDate(L"06/25/1968", L"mm/dd/yyyy", in TEST_F()
36 date = RoundDownDate(date); in TEST_F()
37 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F()
42 date = CJS_PublicMethods::MakeRegularDate(L"25061968", L"ddmmyyyy", in TEST_F()
44 date = RoundDownDate(date); in TEST_F()
45 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F()
50 date = CJS_PublicMethods::MakeRegularDate(L"19680625", L"yyyymmdd", in TEST_F()
52 date = RoundDownDate(date); in TEST_F()
53 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F()
58 date = CJS_PublicMethods::MakeRegularDate(L"31121985", L"ddmmyyyy", in TEST_F()
60 date = RoundDownDate(date); in TEST_F()
61 EXPECT_DOUBLE_EQ(504835200000.0, date); in TEST_F()
66 date = in TEST_F()
68 date = RoundDownDate(date); in TEST_F()
69 EXPECT_DOUBLE_EQ(3660595200000.0, date); in TEST_F()
74 date = CJS_PublicMethods::MakeRegularDate(L"01021995", L"ddmmyyyy", in TEST_F()
76 date = RoundDownDate(date); in TEST_F()
77 EXPECT_DOUBLE_EQ(791596800000.0, date); in TEST_F()
82 date = in TEST_F()
84 date = RoundDownDate(date); in TEST_F()
85 EXPECT_DOUBLE_EQ(3947356800000.0, date); in TEST_F()
90 date = CJS_PublicMethods::MakeRegularDate(L"01022005", L"ddmmyyyy", in TEST_F()
92 date = RoundDownDate(date); in TEST_F()
93 EXPECT_DOUBLE_EQ(1107216000000.0, date); in TEST_F()
98 date = in TEST_F()
100 date = RoundDownDate(date); in TEST_F()
101 EXPECT_DOUBLE_EQ(1107216000000.0, date); in TEST_F()