Searched refs:MS_PER_DAY (Results 1 – 1 of 1) sorted by relevance
22 #define MS_PER_DAY ((ecma_number_t) 86400000) macro23 #define MS_PER_YEAR ((ecma_number_t) 365 * MS_PER_DAY)25 - (1970 / 4) * MS_PER_DAY \26 + (1970 / 100) * MS_PER_DAY \27 - (1970 / 400) * MS_PER_DAY \28 - MS_PER_DAY))39 TEST_ASSERT (ecma_date_day (MS_PER_DAY) == 1); in main()46 TEST_ASSERT (ecma_date_time_within_day (MS_PER_DAY + 42) == 42); in main()52 TEST_ASSERT (ecma_date_year_from_time (MS_PER_DAY) == 1970); in main()53 TEST_ASSERT (ecma_date_year_from_time ((MS_PER_DAY) * (ecma_number_t) 365 - 1) == 1970); in main()[all …]