Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-date.c55 ecma_date_day (ecma_number_t time) /**< time value */ in ecma_date_day() function
223 int day_within_year = (int) (ecma_date_day (time) - ecma_date_day_from_year (year)); in ecma_date_month_from_time()
267 int day_within_year = (int) (ecma_date_day (time) - ecma_date_day_from_year (year)); in ecma_date_date_from_time()
315 ecma_number_t week_day = (ecma_number_t) fmod ((ecma_date_day (time) + 4), 7); in ecma_date_week_day()
514 return ecma_date_day (time) + dt - ((ecma_number_t) 1.0); in ecma_date_make_day()
Decma-builtin-helpers.h153 ecma_number_t ecma_date_day (ecma_number_t time);
Decma-builtin-date-prototype.c507 day_part = ecma_date_day (date_num); in ecma_builtin_date_prototype_dispatch_set()
/third_party/jerryscript/tests/unit-core/
Dtest-date-helpers.cpp57 TEST_ASSERT (ecma_date_day (0) == 0);
58 TEST_ASSERT (ecma_date_day (MS_PER_DAY) == 1);