Home
last modified time | relevance | path

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

/third_party/jerryscript/tests/unit-core/
Dtest-date-helpers.c23 #define MS_PER_YEAR ((ecma_number_t) 365 * MS_PER_DAY) macro
24 #define START_OF_GREGORIAN_CALENDAR ((ecma_number_t) (-1970 * MS_PER_YEAR \
59 TEST_ASSERT (ecma_date_year_from_time (-MS_PER_YEAR) == 1969); in main()
60 TEST_ASSERT (ecma_date_year_from_time (-1970 * MS_PER_YEAR) == 1); in main()
63 TEST_ASSERT (ecma_date_year_from_time (START_OF_GREGORIAN_CALENDAR - 3 * MS_PER_YEAR) == -3); in main()